#3C258E#3C258E
#3C258E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.162 H 285.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3C258E |
|---|---|
| RGB | rgb(60, 37, 142) |
| HSL | hsl(253, 59%, 35%) |
| HSV | hsv(253, 74%, 56%) |
| CMYK | cmyk(57.7%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.44, 39.26, -54.38) |
| CIE-LCH | lch(24.44, 67.07, 305.83°) |
| OKLab | oklab(36.59% 0.0424 -0.1565) |
| OKLCH | oklch(36.59% 0.162 285.2) |
| XYZ | xyz(7.4061, 4.2364, 26.0134) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.39
Indigo (survey)
#380282
ΔE00 5.92
Indigo
#4B0082
ΔE00 6.52
Midnight Blue
#191970
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C258E #778E25
analogous
#25428E #3C258E #71258E
triadic
#3C258E #8E3C25 #258E3C
tetradic
#3C258E #8E2542 #778E25 #258E71
square
#3C258E #8E2542 #778E25 #258E71
split-complementary
#3C258E #8E7125 #428E25
monochromatic
#130C2D #27185D #3C258E #5132BF #745AD4
Accessibility & contrast
On white
11.37
#3C258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3C258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C258E
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C258E | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#144157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c258e; /* rgb */ color: rgb(60, 37, 142); /* oklch */ color: oklch(36.6% 0.162 285.2);
Tailwind
colors: {
custom: {
50: '#7b62b0',
500: '#3c258e',
950: '#000000',
},
}SCSS
$custom: #3c258e; $custom-light: #7b62b0; $custom-dark: #000000;
JSON
{
"hex": "#3c258e",
"rgb": {
"r": 60,
"g": 37,
"b": 142
},
"hsl": {
"h": 253.143,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.36585,
"c": 0.16217,
"h": 285.2
},
"luminance": 0.04237
}Semantic roles & 50–950 ramp
primary
#3C258E
secondary
#A3B956
accent
#E246C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980