#604F99#604F99
#604F99 is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.0% C 0.116 H 292.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #604F99 |
|---|---|
| RGB | rgb(96, 79, 153) |
| HSL | hsl(254, 32%, 45%) |
| HSV | hsv(254, 48%, 60%) |
| CMYK | cmyk(37.3%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(38.51, 25.05, -38.19) |
| CIE-LCH | lch(38.51, 45.67, 303.27°) |
| OKLab | oklab(48.01% 0.0436 -0.1078) |
| OKLCH | oklch(48.01% 0.116 292) |
| XYZ | xyz(13.3681, 10.3784, 31.4297) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.48
Blueberry
#464196
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.53
Dusk
#4E5481
ΔE00 7.18
Ocean Blue
#4F42B5
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604F99 #88994F
analogous
#4F6399 #604F99 #854F99
triadic
#604F99 #99604F #4F9960
tetradic
#604F99 #994F63 #88994F #4F9985
square
#604F99 #994F63 #88994F #4F9985
split-complementary
#604F99 #99854F #63994F
monochromatic
#2D2548 #473A71 #604F99 #8070B5 #A498CA
Accessibility & contrast
On white
6.83
#604F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#604F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604F99
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604F99 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#525D6C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #604f99; /* rgb */ color: rgb(96, 79, 153); /* oklch */ color: oklch(48.0% 0.116 292.0);
Tailwind
colors: {
custom: {
50: '#9080b7',
500: '#604f99',
950: '#000000',
},
}SCSS
$custom: #604f99; $custom-light: #9080b7; $custom-dark: #000000;
JSON
{
"hex": "#604f99",
"rgb": {
"r": 96,
"g": 79,
"b": 153
},
"hsl": {
"h": 253.784,
"s": 31.897,
"l": 45.49
},
"oklch": {
"l": 0.48006,
"c": 0.11626,
"h": 292
},
"luminance": 0.10379
}Semantic roles & 50–950 ramp
primary
#604F99
secondary
#ADB78D
accent
#C860B0
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80