#6040B9
Closest named color: Bluey Purple (#6241C7). oklch(47.7% 0.181 290), rgb(96, 64, 185).
Aa
White text reads best on this color (7.16:1).
About this color
#6040B9 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.181 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.022 away. White text reads best on it, at 7.16:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.181) |
| Temperature | cool |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 2.93:1 |
| White text | 7.16:1 |
Values
| HEX | #6040B9 |
| RGB | rgb(96, 64, 185) |
| HSL | hsl(256, 49%, 49%) |
| OKLCH | oklch(47.7% 0.181 290) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #6040B9 | 7.16:1 | AAA | Lc -89.3 | Fine for body text |
| Black text on #6040B9 | 2.93:1 | Fails | Lc 19.7 | Dividers and decoration only |
| #6040B9 text on white | 7.16:1 | AAA | Lc 84.3 | Fine for body text |
| #6040B9 text on black | 2.93:1 | Fails | Lc -17.6 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FA
oklch(93.5% 0.026 290.7)
-
Step 200
200
#D8D4F8
oklch(88.4% 0.049 290.4)
-
Step 300
300
#BFB7F6
oklch(80.8% 0.088 290.1)
-
Step 400
400
#A090F1
oklch(70.7% 0.139 289.9)
-
Step 500
500
#8B71EC
oklch(63.2% 0.178 290.1)
-
Step 600
600
#7655DA
oklch(55.5% 0.194 290)
-
Step 700
700 (this color)
#6040B9
oklch(47.7% 0.181 290)
-
Step 800
800
#513999
oklch(42.6% 0.15 290.1)
-
Step 900
900
#43337A
oklch(37.8% 0.116 290.1)
-
Step 950
950
#271E47
oklch(26.9% 0.074 290.7)
#6040B9 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #005ABD | 0.101 |
| Deuteranopia (no green cones) | #0055B7 | 0.099 |
| Tritanopia (no blue cones) | #435D77 | 0.145 |
| Achromatopsia (no color) | #585858 | 0.182 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6040B9
#6040B9
oklch(47.7% 0.181 290)
- #616100
#616100
oklch(47.7% 0.104 109.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #6040B9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.022
- Blue With A Hint Of Purple #533CC6 ΔE 0.033
- Blurple #5539CC ΔE 0.039
- Iris #6258C4 ΔE 0.056
- Rebecca Purple #663399 ΔE 0.058
- Purple Blue #5D21D0 ΔE 0.059
- Majorelle Blue #3F37C9 ΔE 0.065
- Slate Blue #6A5ACD ΔE 0.068
Use #6040B9 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.