#3C258F#3C258F
#3C258F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.163 H 285.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3C258F |
|---|---|
| RGB | rgb(60, 37, 143) |
| HSL | hsl(253, 59%, 35%) |
| HSV | hsv(253, 74%, 56%) |
| CMYK | cmyk(58%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.53, 39.57, -54.84) |
| CIE-LCH | lch(24.53, 67.63, 305.81°) |
| OKLab | oklab(36.68% 0.0422 -0.1579) |
| OKLCH | oklch(36.68% 0.163 285) |
| XYZ | xyz(7.4815, 4.2665, 26.4106) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.95
Indigo
#4B0082
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.62
Midnight Blue
#191970
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C258F #788F25
analogous
#25438F #3C258F #71258F
triadic
#3C258F #8F3C25 #258F3C
tetradic
#3C258F #8F2543 #788F25 #258F71
square
#3C258F #8F2543 #788F25 #258F71
split-complementary
#3C258F #8F7125 #438F25
monochromatic
#130C2E #28185E #3C258F #5032C0 #755AD4
Accessibility & contrast
On white
11.33
#3C258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3C258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C258F
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C258F | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#124258
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c258f; /* rgb */ color: rgb(60, 37, 143); /* oklch */ color: oklch(36.7% 0.163 285.0);
Tailwind
colors: {
custom: {
50: '#7c62b1',
500: '#3c258f',
950: '#000000',
},
}SCSS
$custom: #3c258f; $custom-light: #7c62b1; $custom-dark: #000000;
JSON
{
"hex": "#3c258f",
"rgb": {
"r": 60,
"g": 37,
"b": 143
},
"hsl": {
"h": 253.019,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36682,
"c": 0.16342,
"h": 285
},
"luminance": 0.04267
}Semantic roles & 50–950 ramp
primary
#3C258F
secondary
#A4B957
accent
#E246C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980