#3D276F#3D276F
#3D276F is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.2% C 0.119 H 293.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3D276F |
|---|---|
| RGB | rgb(61, 39, 111) |
| HSL | hsl(258, 48%, 29%) |
| HSV | hsv(258, 65%, 44%) |
| CMYK | cmyk(45%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(22.27, 28.66, -38.31) |
| CIE-LCH | lch(22.27, 47.84, 306.80°) |
| OKLab | oklab(34.21% 0.0467 -0.1093) |
| OKLCH | oklch(34.21% 0.119 293.1) |
| XYZ | xyz(5.5185, 3.5907, 15.4382) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 7.14
Royal Purple (survey)
#4B006E
ΔE00 7.80
Indigo
#4B0082
ΔE00 7.97
Indigo (survey)
#380282
ΔE00 8.00
Dark Indigo
#1F0954
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D276F #596F27
analogous
#27356F #3D276F #61276F
triadic
#3D276F #6F3D27 #276F3D
tetradic
#3D276F #6F2735 #596F27 #276F61
square
#3D276F #6F2735 #596F27 #276F61
split-complementary
#3D276F #6F6127 #356F27
monochromatic
#0C0817 #241742 #3D276F #56379C #724FC1
Accessibility & contrast
On white
12.22
#3D276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3D276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D276F
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D276F | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#2F3747
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3d276f; /* rgb */ color: rgb(61, 39, 111); /* oklch */ color: oklch(34.2% 0.119 293.1);
Tailwind
colors: {
custom: {
50: '#776299',
500: '#3d276f',
950: '#000000',
},
}SCSS
$custom: #3d276f; $custom-light: #776299; $custom-dark: #000000;
JSON
{
"hex": "#3d276f",
"rgb": {
"r": 61,
"g": 39,
"b": 111
},
"hsl": {
"h": 258.333,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.34213,
"c": 0.11887,
"h": 293.1
},
"luminance": 0.03591
}Semantic roles & 50–950 ramp
primary
#3D276F
secondary
#89A250
accent
#D850AE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E