#3C258B#3C258B
#3C258B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.158 H 285.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3C258B |
|---|---|
| RGB | rgb(60, 37, 139) |
| HSL | hsl(254, 58%, 35%) |
| HSV | hsv(254, 73%, 55%) |
| CMYK | cmyk(56.8%, 73.4%, 0%, 45.5%) |
| CIE-LAB | lab(24.15, 38.33, -52.98) |
| CIE-LCH | lch(24.15, 65.39, 305.88°) |
| OKLab | oklab(36.3% 0.0431 -0.1524) |
| OKLCH | oklch(36.3% 0.158 285.8) |
| XYZ | xyz(7.1838, 4.1475, 24.8431) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.84
Indigo (survey)
#380282
ΔE00 5.85
Midnight Blue
#191970
ΔE00 6.27
Indigo
#4B0082
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C258B #748B25
analogous
#25418B #3C258B #6F258B
triadic
#3C258B #8B3C25 #258B3C
tetradic
#3C258B #8B2541 #748B25 #258B6F
square
#3C258B #8B2541 #748B25 #258B6F
split-complementary
#3C258B #8B6F25 #418B25
monochromatic
#120B2A #27185B #3C258B #5132BB #7458D3
Accessibility & contrast
On white
11.48
#3C258B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C258B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C258B
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C258B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C258B | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#184055
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c258b; /* rgb */ color: rgb(60, 37, 139); /* oklch */ color: oklch(36.3% 0.158 285.8);
Tailwind
colors: {
custom: {
50: '#7b62ae',
500: '#3c258b',
950: '#000000',
},
}SCSS
$custom: #3c258b; $custom-light: #7b62ae; $custom-dark: #000000;
JSON
{
"hex": "#3c258b",
"rgb": {
"r": 60,
"g": 37,
"b": 139
},
"hsl": {
"h": 253.529,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.36296,
"c": 0.1584,
"h": 285.8
},
"luminance": 0.04148
}Semantic roles & 50–950 ramp
primary
#3C258B
secondary
#A1B755
accent
#E147BE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F