#604F87#604F87

#604F87 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.9% C 0.090 H 296.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#604F87
RGBrgb(96, 79, 135)
HSLhsl(258, 26%, 42%)
HSVhsv(258, 41%, 53%)
CMYKcmyk(28.9%, 41.5%, 0%, 47.1%)
CIE-LABlab(37.53, 20.04, -28.82)
CIE-LCHlch(37.53, 35.10, 304.81°)
OKLaboklab(46.95% 0.0406 -0.0805)
OKLCHoklch(46.95% 0.09 296.8)
XYZxyz(11.9920, 9.8279, 24.1822)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F87 #76874F
analogous
#4F5A87 #604F87 #7C4F87
triadic
#604F87 #87604F #4F8760
tetradic
#604F87 #874F5A #76874F #4F877C
square
#604F87 #874F5A #76874F #4F877C
split-complementary
#604F87 #877C4F #5A874F
monochromatic
#29223A #453860 #604F87 #7E6BA8 #9F91BF

Accessibility & contrast

On white

7.08
#604F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#604F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604F87
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F87#FFFFFF#000000##FFFFFF
##604F871.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5989
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#585964
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604f87;
/* rgb */ color: rgb(96, 79, 135);
/* oklch */ color: oklch(46.9% 0.090 296.8);
Tailwind
colors: {
  custom: {
    50: '#8e80aa',
    500: '#604f87',
    950: '#000000',
  },
}
SCSS
$custom: #604f87;
$custom-light: #8e80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#604f87",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 258.214,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.09016,
    "h": 296.8
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#604F87
secondary
#A0AC86
accent
#C365A6
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604F87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#604F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva