#3C259A#3C259A
#3C259A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.177 H 282.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3C259A |
|---|---|
| RGB | rgb(60, 37, 154) |
| HSL | hsl(252, 61%, 37%) |
| HSV | hsv(252, 76%, 60%) |
| CMYK | cmyk(61%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(25.61, 42.96, -59.85) |
| CIE-LCH | lch(25.61, 73.67, 305.67°) |
| OKLab | oklab(37.77% 0.0395 -0.1725) |
| OKLCH | oklch(37.77% 0.177 282.9) |
| XYZ | xyz(8.3560, 4.6163, 31.0163) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Royal
#0C1793
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.87
Ultramarine
#2000B1
ΔE00 5.96
Royal Blue (survey)
#0504AA
ΔE00 6.23
Indigo (survey)
#380282
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C259A #839A25
analogous
#25489A #3C259A #77259A
triadic
#3C259A #9A3C25 #259A3C
tetradic
#3C259A #9A2548 #839A25 #259A77
square
#3C259A #9A2548 #839A25 #259A77
split-complementary
#3C259A #9A7725 #489A25
monochromatic
#160D37 #291969 #3C259A #4F31CB #7860D9
Accessibility & contrast
On white
10.92
#3C259A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3C259A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C259A
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C259A | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3c259a; /* rgb */ color: rgb(60, 37, 154); /* oklch */ color: oklch(37.8% 0.177 282.9);
Tailwind
colors: {
custom: {
50: '#7e63b9',
500: '#3c259a',
950: '#000000',
},
}SCSS
$custom: #3c259a; $custom-light: #7e63b9; $custom-dark: #000000;
JSON
{
"hex": "#3c259a",
"rgb": {
"r": 60,
"g": 37,
"b": 154
},
"hsl": {
"h": 251.795,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.37772,
"c": 0.177,
"h": 282.9
},
"luminance": 0.04617
}Semantic roles & 50–950 ramp
primary
#3C259A
secondary
#ABBE5D
accent
#E443C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81