#3D236F#3D236F
#3D236F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.125 H 294.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3D236F |
|---|---|
| RGB | rgb(61, 35, 111) |
| HSL | hsl(261, 52%, 29%) |
| HSV | hsv(261, 68%, 44%) |
| CMYK | cmyk(45%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.36, 31.09, -39.78) |
| CIE-LCH | lch(21.36, 50.49, 308.02°) |
| OKLab | oklab(33.56% 0.0516 -0.1136) |
| OKLCH | oklch(33.56% 0.125 294.4) |
| XYZ | xyz(5.3940, 3.3417, 15.3967) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.02
Royal Purple (survey)
#4B006E
ΔE00 6.71
Indigo
#4B0082
ΔE00 6.94
Indigo (survey)
#380282
ΔE00 6.98
Dark Indigo
#1F0954
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D236F #556F23
analogous
#232F6F #3D236F #63236F
triadic
#3D236F #6F3D23 #236F3D
tetradic
#3D236F #6F232F #556F23 #236F63
square
#3D236F #6F232F #556F23 #236F63
split-complementary
#3D236F #6F6323 #2F6F23
monochromatic
#0D0717 #231440 #3D236F #57329E #7247C5
Accessibility & contrast
On white
12.59
#3D236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3D236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D236F
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D236F | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#2F3545
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3d236f; /* rgb */ color: rgb(61, 35, 111); /* oklch */ color: oklch(33.6% 0.125 294.4);
Tailwind
colors: {
custom: {
50: '#776099',
500: '#3d236f',
950: '#000000',
},
}SCSS
$custom: #3d236f; $custom-light: #776099; $custom-dark: #000000;
JSON
{
"hex": "#3d236f",
"rgb": {
"r": 61,
"g": 35,
"b": 111
},
"hsl": {
"h": 260.526,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.33557,
"c": 0.12477,
"h": 294.4
},
"luminance": 0.03342
}Semantic roles & 50–950 ramp
primary
#3D236F
secondary
#85A24C
accent
#DB4CAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E