#3D345C#3D345C
#3D345C is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.4% C 0.069 H 292.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3D345C |
|---|---|
| RGB | rgb(61, 52, 92) |
| HSL | hsl(254, 28%, 28%) |
| HSV | hsv(254, 43%, 36%) |
| CMYK | cmyk(33.7%, 43.5%, 0%, 63.9%) |
| CIE-LAB | lab(24.39, 14.30, -22.57) |
| CIE-LCH | lch(24.39, 26.72, 302.36°) |
| OKLab | oklab(35.38% 0.0267 -0.0632) |
| OKLCH | oklch(35.38% 0.069 292.9) |
| XYZ | xyz(5.0837, 4.2207, 10.6700) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.93
Darkslateblue
#483D8B
ΔE00 9.78
Dusk
#4E5481
ΔE00 11.19
Marine
#042E60
ΔE00 11.25
Twilight
#4E518B
ΔE00 11.41
Blueberry
#464196
ΔE00 11.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D345C #535C34
analogous
#343F5C #3D345C #51345C
triadic
#3D345C #5C3D34 #345C3D
tetradic
#3D345C #5C343F #535C34 #345C51
square
#3D345C #5C343F #535C34 #345C51
split-complementary
#3D345C #5C5134 #3F5C34
monochromatic
#0D0B14 #231E35 #3D345C #574A83 #7363A7
Accessibility & contrast
On white
11.39
#3D345C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3D345C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D345C
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D345C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D345C | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#363B43
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d345c; /* rgb */ color: rgb(61, 52, 92); /* oklch */ color: oklch(35.4% 0.069 292.9);
Tailwind
colors: {
custom: {
50: '#746b8a',
500: '#3d345c',
950: '#000000',
},
}SCSS
$custom: #3d345c; $custom-light: #746b8a; $custom-dark: #000000;
JSON
{
"hex": "#3d345c",
"rgb": {
"r": 61,
"g": 52,
"b": 92
},
"hsl": {
"h": 253.5,
"s": 27.778,
"l": 28.235
},
"oklch": {
"l": 0.35383,
"c": 0.0686,
"h": 292.9
},
"luminance": 0.04221
}Semantic roles & 50–950 ramp
primary
#3D345C
secondary
#838D5F
accent
#C464AE
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D