#3C259F#3C259F
#3C259F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.183 H 282.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3C259F |
|---|---|
| RGB | rgb(60, 37, 159) |
| HSL | hsl(251, 62%, 38%) |
| HSV | hsv(251, 77%, 62%) |
| CMYK | cmyk(62.3%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.12, 44.49, -62.07) |
| CIE-LCH | lch(26.12, 76.37, 305.63°) |
| OKLab | oklab(38.28% 0.0382 -0.179) |
| OKLCH | oklch(38.28% 0.183 282.1) |
| XYZ | xyz(8.7811, 4.7864, 33.2553) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.19
Royal
#0C1793
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.02
Sapphire (survey)
#2138AB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C259F #889F25
analogous
#254B9F #3C259F #79259F
triadic
#3C259F #9F3C25 #259F3C
tetradic
#3C259F #9F254B #889F25 #259F79
square
#3C259F #9F254B #889F25 #259F79
split-complementary
#3C259F #9F7925 #4B9F25
monochromatic
#170E3C #29196D #3C259F #5032CF #7A64DB
Accessibility & contrast
On white
10.73
#3C259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3C259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C259F
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C259F | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c259f; /* rgb */ color: rgb(60, 37, 159); /* oklch */ color: oklch(38.3% 0.183 282.1);
Tailwind
colors: {
custom: {
50: '#7f63bd',
500: '#3c259f',
950: '#000000',
},
}SCSS
$custom: #3c259f; $custom-light: #7f63bd; $custom-dark: #000000;
JSON
{
"hex": "#3c259f",
"rgb": {
"r": 60,
"g": 37,
"b": 159
},
"hsl": {
"h": 251.311,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.38279,
"c": 0.18305,
"h": 282.1
},
"luminance": 0.04787
}Semantic roles & 50–950 ramp
primary
#3C259F
secondary
#AEC05F
accent
#E542C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81