#3D1E9B#3D1E9B
#3D1E9B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.185 H 284.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E9B |
|---|---|
| RGB | rgb(61, 30, 155) |
| HSL | hsl(255, 68%, 36%) |
| HSV | hsv(255, 81%, 61%) |
| CMYK | cmyk(60.6%, 80.6%, 0%, 39.2%) |
| CIE-LAB | lab(24.60, 46.87, -62.13) |
| CIE-LCH | lch(24.60, 77.83, 307.03°) |
| OKLab | oklab(37.12% 0.0454 -0.1791) |
| OKLCH | oklch(37.12% 0.185 284.2) |
| XYZ | xyz(8.3033, 4.2867, 31.3939) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
Royal
#0C1793
ΔE00 4.75
Ultramarine
#2000B1
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 5.02
Royal Blue (survey)
#0504AA
ΔE00 5.28
Indigo (survey)
#380282
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E9B #7C9B1E
analogous
#1E3E9B #3D1E9B #7C1E9B
triadic
#3D1E9B #9B3D1E #1E9B3D
tetradic
#3D1E9B #9B1E3E #7C9B1E #1E9B7C
square
#3D1E9B #9B1E3E #7C9B1E #1E9B7C
split-complementary
#3D1E9B #9B7C1E #3E9B1E
monochromatic
#150A34 #291468 #3D1E9B #5128CE #7755DE
Accessibility & contrast
On white
11.31
#3D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3D1E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E9B
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E9B | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d1e9b; /* rgb */ color: rgb(61, 30, 155); /* oklch */ color: oklch(37.1% 0.185 284.2);
Tailwind
colors: {
custom: {
50: '#7f5fba',
500: '#3d1e9b',
950: '#000000',
},
}SCSS
$custom: #3d1e9b; $custom-light: #7f5fba; $custom-dark: #000000;
JSON
{
"hex": "#3d1e9b",
"rgb": {
"r": 61,
"g": 30,
"b": 155
},
"hsl": {
"h": 254.88,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.37117,
"c": 0.18475,
"h": 284.2
},
"luminance": 0.04287
}Semantic roles & 50–950 ramp
primary
#3D1E9B
secondary
#A6C253
accent
#EA3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981