#3C25A2#3C25A2
#3C25A2 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.187 H 281.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3C25A2 |
|---|---|
| RGB | rgb(60, 37, 162) |
| HSL | hsl(251, 63%, 39%) |
| HSV | hsv(251, 77%, 64%) |
| CMYK | cmyk(63%, 77.2%, 0%, 36.5%) |
| CIE-LAB | lab(26.42, 45.41, -63.39) |
| CIE-LCH | lch(26.42, 77.98, 305.62°) |
| OKLab | oklab(38.59% 0.0374 -0.1829) |
| OKLCH | oklch(38.59% 0.187 281.6) |
| XYZ | xyz(9.0446, 4.8918, 34.6430) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.88
Royal
#0C1793
ΔE00 5.42
Ultramarine
#2000B1
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.65
Royal Blue (survey)
#0504AA
ΔE00 5.95
True Blue
#010FCC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C25A2 #8BA225
analogous
#254DA2 #3C25A2 #7B25A2
triadic
#3C25A2 #A23C25 #25A23C
tetradic
#3C25A2 #A2254D #8BA225 #25A27B
square
#3C25A2 #A2254D #8BA225 #25A27B
split-complementary
#3C25A2 #A27B25 #4DA225
monochromatic
#170E3E #2A1A70 #3C25A2 #5134D1 #7B65DC
Accessibility & contrast
On white
10.61
#3C25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3C25A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C25A2
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C25A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C25A2 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c25a2; /* rgb */ color: rgb(60, 37, 162); /* oklch */ color: oklch(38.6% 0.187 281.6);
Tailwind
colors: {
custom: {
50: '#7f63bf',
500: '#3c25a2',
950: '#000000',
},
}SCSS
$custom: #3c25a2; $custom-light: #7f63bf; $custom-dark: #000000;
JSON
{
"hex": "#3c25a2",
"rgb": {
"r": 60,
"g": 37,
"b": 162
},
"hsl": {
"h": 251.04,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.38586,
"c": 0.18666,
"h": 281.6
},
"luminance": 0.04892
}Semantic roles & 50–950 ramp
primary
#3C25A2
secondary
#B0C261
accent
#E642C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81