#3B258E#3B258E
#3B258E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.162 H 284.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3B258E |
|---|---|
| RGB | rgb(59, 37, 142) |
| HSL | hsl(253, 59%, 35%) |
| HSV | hsv(253, 74%, 56%) |
| CMYK | cmyk(58.5%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.34, 39.11, -54.55) |
| CIE-LCH | lch(24.34, 67.12, 305.64°) |
| OKLab | oklab(36.49% 0.0409 -0.157) |
| OKLCH | oklch(36.49% 0.162 284.6) |
| XYZ | xyz(7.3462, 4.2055, 26.0106) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.11
Indigo Blue
#3A18B1
ΔE00 5.39
Indigo (survey)
#380282
ΔE00 5.94
Midnight Blue
#191970
ΔE00 6.44
Indigo
#4B0082
ΔE00 6.61
Cobalt Blue
#030AA7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B258E #788E25
analogous
#25448E #3B258E #6F258E
triadic
#3B258E #8E3B25 #258E3B
tetradic
#3B258E #8E2544 #788E25 #258E6F
square
#3B258E #8E2544 #788E25 #258E6F
split-complementary
#3B258E #8E6F25 #448E25
monochromatic
#130C2D #27185D #3B258E #4F32BF #735AD4
Accessibility & contrast
On white
11.41
#3B258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3B258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B258E
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B258E | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#104257
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3b258e; /* rgb */ color: rgb(59, 37, 142); /* oklch */ color: oklch(36.5% 0.162 284.6);
Tailwind
colors: {
custom: {
50: '#7b62b0',
500: '#3b258e',
950: '#000000',
},
}SCSS
$custom: #3b258e; $custom-light: #7b62b0; $custom-dark: #000000;
JSON
{
"hex": "#3b258e",
"rgb": {
"r": 59,
"g": 37,
"b": 142
},
"hsl": {
"h": 252.571,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.36492,
"c": 0.16229,
"h": 284.6
},
"luminance": 0.04206
}Semantic roles & 50–950 ramp
primary
#3B258E
secondary
#A4B956
accent
#E246C1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980