#4A306F#4A306F
#4A306F is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.106 H 300.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4A306F |
|---|---|
| RGB | rgb(74, 48, 111) |
| HSL | hsl(265, 40%, 31%) |
| HSV | hsv(265, 57%, 44%) |
| CMYK | cmyk(33.3%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(25.91, 26.39, -32.37) |
| CIE-LCH | lch(25.91, 41.76, 309.19°) |
| OKLab | oklab(37.24% 0.0536 -0.0914) |
| OKLCH | oklch(37.24% 0.106 300.4) |
| XYZ | xyz(6.7496, 4.7174, 15.5908) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.57
Rebeccapurple
#663399
ΔE00 8.44
Blueberry
#464196
ΔE00 8.89
Royal Purple (survey)
#4B006E
ΔE00 9.32
Indigo
#4B0082
ΔE00 9.92
Midnight Blue
#191970
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A306F #556F30
analogous
#30356F #4A306F #69306F
triadic
#4A306F #6F4A30 #306F4A
tetradic
#4A306F #6F3035 #556F30 #306F69
square
#4A306F #6F3035 #556F30 #306F69
split-complementary
#4A306F #6F6930 #356F30
monochromatic
#110B1A #2E1E44 #4A306F #66429A #855FBA
Accessibility & contrast
On white
10.81
#4A306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4A306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A306F
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A306F | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#423C4A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a306f; /* rgb */ color: rgb(74, 48, 111); /* oklch */ color: oklch(37.2% 0.106 300.4);
Tailwind
colors: {
custom: {
50: '#7f6999',
500: '#4a306f',
950: '#000000',
},
}SCSS
$custom: #4a306f; $custom-light: #7f6999; $custom-dark: #000000;
JSON
{
"hex": "#4a306f",
"rgb": {
"r": 74,
"g": 48,
"b": 111
},
"hsl": {
"h": 264.762,
"s": 39.623,
"l": 31.176
},
"oklch": {
"l": 0.37236,
"c": 0.10596,
"h": 300.4
},
"luminance": 0.04717
}Semantic roles & 50–950 ramp
primary
#4A306F
secondary
#83A05B
accent
#D0589E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E