#3B115F#3B115F
#3B115F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.129 H 303.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3B115F |
|---|---|
| RGB | rgb(59, 17, 95) |
| HSL | hsl(272, 70%, 22%) |
| HSV | hsv(272, 82%, 37%) |
| CMYK | cmyk(37.9%, 82.1%, 0%, 62.7%) |
| CIE-LAB | lab(16.29, 35.73, -37.55) |
| CIE-LCH | lch(16.29, 51.84, 313.58°) |
| OKLab | oklab(29.45% 0.0713 -0.107) |
| OKLCH | oklch(29.45% 0.129 303.7) |
| XYZ | xyz(4.0692, 2.1569, 11.0262) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.21
Dark Indigo
#1F0954
ΔE00 5.17
Indigo
#4B0082
ΔE00 6.48
Dark Violet
#34013F
ΔE00 6.76
Indigo (survey)
#380282
ΔE00 6.79
Plum Purple
#4E0550
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B115F #355F11
analogous
#14115F #3B115F #5F115C
triadic
#3B115F #5F3B11 #115F3B
tetradic
#3B115F #5F1411 #355F11 #115C5F
square
#3B115F #5F1411 #355F11 #115C5F
split-complementary
#3B115F #5C5F11 #115F14
monochromatic
#10051A #1B082B #3B115F #5B1A93 #7B24C7
Accessibility & contrast
On white
14.67
#3B115F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#3B115F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B115F
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B115F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B115F | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#342537
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #3b115f; /* rgb */ color: rgb(59, 17, 95); /* oklch */ color: oklch(29.5% 0.129 303.7);
Tailwind
colors: {
custom: {
50: '#75548d',
500: '#3b115f',
950: '#000000',
},
}SCSS
$custom: #3b115f; $custom-light: #75548d; $custom-dark: #000000;
JSON
{
"hex": "#3b115f",
"rgb": {
"r": 59,
"g": 17,
"b": 95
},
"hsl": {
"h": 272.308,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.29454,
"c": 0.12864,
"h": 303.7
},
"luminance": 0.02157
}Semantic roles & 50–950 ramp
primary
#3B115F
secondary
#629834
accent
#EC3B8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D