#3D246F#3D246F
#3D246F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.123 H 294.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3D246F |
|---|---|
| RGB | rgb(61, 36, 111) |
| HSL | hsl(260, 51%, 29%) |
| HSV | hsv(260, 68%, 44%) |
| CMYK | cmyk(45%, 67.6%, 0%, 56.5%) |
| CIE-LAB | lab(21.58, 30.49, -39.42) |
| CIE-LCH | lch(21.58, 49.84, 307.73°) |
| OKLab | oklab(33.72% 0.0504 -0.1126) |
| OKLCH | oklch(33.72% 0.123 294.1) |
| XYZ | xyz(5.4238, 3.4014, 15.4066) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.11
Royal Purple (survey)
#4B006E
ΔE00 6.97
Indigo
#4B0082
ΔE00 7.18
Indigo (survey)
#380282
ΔE00 7.23
Dark Indigo
#1F0954
ΔE00 7.69
Darkslateblue
#483D8B
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D246F #566F24
analogous
#24316F #3D246F #63246F
triadic
#3D246F #6F3D24 #246F3D
tetradic
#3D246F #6F2431 #566F24 #246F63
square
#3D246F #6F2431 #566F24 #246F63
split-complementary
#3D246F #6F6324 #316F24
monochromatic
#0D0717 #241541 #3D246F #56339D #7249C4
Accessibility & contrast
On white
12.50
#3D246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3D246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D246F
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D246F | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#2F3546
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3d246f; /* rgb */ color: rgb(61, 36, 111); /* oklch */ color: oklch(33.7% 0.123 294.1);
Tailwind
colors: {
custom: {
50: '#776099',
500: '#3d246f',
950: '#000000',
},
}SCSS
$custom: #3d246f; $custom-light: #776099; $custom-dark: #000000;
JSON
{
"hex": "#3d246f",
"rgb": {
"r": 61,
"g": 36,
"b": 111
},
"hsl": {
"h": 260,
"s": 51.02,
"l": 28.824
},
"oklch": {
"l": 0.33717,
"c": 0.12333,
"h": 294.1
},
"luminance": 0.03402
}Semantic roles & 50–950 ramp
primary
#3D246F
secondary
#86A24D
accent
#DA4DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E