A violet site with 16 colors in use, built with Tailwind CSS, 87% of its text at WCAG AA
The colors of udemy.com
On udemy.com, #6d28d2 leads: a violet main color among 16 colors in use, 5 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 72 distinct color values in 319.3 KB of CSS, half of its text at 7.28:1 or better against what it sits on.
Measured
| Measure | udemy.com |
|---|---|
| Main color | #6d28d2, a violet near blueviolet |
| Five heaviest colors | #ffffff #33364a #e9eaf2 #202230 #6d28d2 |
| Colors in use | 16, 5 more than a gray; 72 distinct values in the CSS |
| Hue families | 1; violet holds 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | oklch() 83%, hex codes 17% |
Colors through var() | 95% of its color declarations; 119 variables hold a color |
| Framework | Tailwind CSS |
| Text contrast | Median 7.28:1; 13% of its text under 4.5:1 |
| Page measured | https://www.udemy.com/, 319.3 KB of CSS |
The palette of udemy.com
As a palette, udemy.com is #6d28d2, #202230, #ffffff, #33364a and #71758e: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open udemy.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.
CSS variables
:root {
--color-1: #6d28d2;
--color-2: #202230;
--color-3: #ffffff;
--color-4: #33364a;
--color-5: #71758e;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #6d28d2;
--color-2: #202230;
--color-3: #ffffff;
--color-4: #33364a;
--color-5: #71758e;
--color-primary: #6d28d2;
--color-secondary: #202230;
--color-accent: #ffffff;
}Text contrast on udemy.com
On udemy.com, 13% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 13% reads under 4.5:1 and 13% under 3:1, while half of it reaches 7.28:1. On the average studied site 6% of the text fails. Most of its text, 68%, sits on a dark ground. Black or white text on a color explains the lines.
How udemy.com writes its colors
The 237 color values in its CSS are written as oklch() (83%) and hex codes (17%). It is one of the 59 studied sites that write oklch(). Through var(), 95% of its color declarations take their color from a CSS variable; 119 variables hold one. It also mixes colors with color-mix() 99 times and writes 2 relative colors.
By its variables, the study told Tailwind CSS's variables (one of 201 Tailwind CSS sites) in its CSS. No dark mode shows in its CSS; 41% of the studied sites declare one.
Sites with a similar main color
The violet sites nearest udemy.com in the lightness of their main color. The violet page lists all 33; colors that go with violet counts the hues beside it. udemy.com is also listed under Tailwind CSS sites and sites that write oklch().
Common questions
Is the main color of udemy.com blue?
No. Its main color is #6d28d2, a violet near the CSS color blueviolet; blue leads on 49% of the 1,000 sites the study read.
Does udemy.com use Tailwind CSS?
Yes. Its CSS carries Tailwind CSS's variables, like 201 of the 1,000 sites the study read.
Is udemy.com a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on udemy.com pass WCAG AA?
No. 13% of its text fails AA, though half of it reads at 7.28:1 or better.
Can I see udemy.com in another palette?
Yes. Load udemy.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 609 recolor.page
- udemy.com, the page measured udemy.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com