#3C259E#3C259E
#3C259E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.182 H 282.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3C259E |
|---|---|
| RGB | rgb(60, 37, 158) |
| HSL | hsl(251, 62%, 38%) |
| HSV | hsv(251, 77%, 62%) |
| CMYK | cmyk(62%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(26.02, 44.19, -61.63) |
| CIE-LCH | lch(26.02, 75.83, 305.64°) |
| OKLab | oklab(38.18% 0.0385 -0.1777) |
| OKLCH | oklch(38.18% 0.182 282.2) |
| XYZ | xyz(8.6947, 4.7518, 32.8001) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.30
Royal
#0C1793
ΔE00 5.23
Ultramarine
#2000B1
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.73
Royal Blue (survey)
#0504AA
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C259E #879E25
analogous
#254A9E #3C259E #78259E
triadic
#3C259E #9E3C25 #259E3C
tetradic
#3C259E #9E254A #879E25 #259E78
square
#3C259E #9E254A #879E25 #259E78
split-complementary
#3C259E #9E7825 #4A9E25
monochromatic
#160E3B #29196C #3C259E #4F31CF #7A63DA
Accessibility & contrast
On white
10.77
#3C259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3C259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C259E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C259E | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c259e; /* rgb */ color: rgb(60, 37, 158); /* oklch */ color: oklch(38.2% 0.182 282.2);
Tailwind
colors: {
custom: {
50: '#7e63bc',
500: '#3c259e',
950: '#000000',
},
}SCSS
$custom: #3c259e; $custom-light: #7e63bc; $custom-dark: #000000;
JSON
{
"hex": "#3c259e",
"rgb": {
"r": 60,
"g": 37,
"b": 158
},
"hsl": {
"h": 251.405,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.38177,
"c": 0.18185,
"h": 282.2
},
"luminance": 0.04752
}Semantic roles & 50–950 ramp
primary
#3C259E
secondary
#ADC05F
accent
#E543C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81