#3C229A#3C229A
#3C229A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.180 H 283.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3C229A |
|---|---|
| RGB | rgb(60, 34, 154) |
| HSL | hsl(253, 64%, 37%) |
| HSV | hsv(253, 78%, 60%) |
| CMYK | cmyk(61%, 77.9%, 0%, 39.6%) |
| CIE-LAB | lab(25.07, 44.51, -60.75) |
| CIE-LCH | lch(25.07, 75.31, 306.23°) |
| OKLab | oklab(37.39% 0.0416 -0.1751) |
| OKLCH | oklch(37.39% 0.18 283.4) |
| XYZ | xyz(8.2664, 4.4373, 30.9865) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.44
Royal
#0C1793
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 5.44
Ultramarine
#2000B1
ΔE00 5.47
Royal Blue (survey)
#0504AA
ΔE00 5.76
Indigo (survey)
#380282
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C229A #809A22
analogous
#22449A #3C229A #78229A
triadic
#3C229A #9A3C22 #229A3C
tetradic
#3C229A #9A2244 #809A22 #229A78
square
#3C229A #9A2244 #809A22 #229A78
split-complementary
#3C229A #9A7822 #449A22
monochromatic
#150C36 #281768 #3C229A #502DCC #775BDB
Accessibility & contrast
On white
11.13
#3C229A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C229A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C229A
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C229A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C229A | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c229a; /* rgb */ color: rgb(60, 34, 154); /* oklch */ color: oklch(37.4% 0.180 283.4);
Tailwind
colors: {
custom: {
50: '#7e61b9',
500: '#3c229a',
950: '#000000',
},
}SCSS
$custom: #3c229a; $custom-light: #7e61b9; $custom-dark: #000000;
JSON
{
"hex": "#3c229a",
"rgb": {
"r": 60,
"g": 34,
"b": 154
},
"hsl": {
"h": 253,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.37389,
"c": 0.17999,
"h": 283.4
},
"luminance": 0.04438
}Semantic roles & 50–950 ramp
primary
#3C229A
secondary
#A9BF58
accent
#E741C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981