#604B87#604B87

#604B87 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.2% C 0.097 H 298.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#604B87
RGBrgb(96, 75, 135)
HSLhsl(261, 29%, 41%)
HSVhsv(261, 44%, 53%)
CMYKcmyk(28.9%, 44.4%, 0%, 47.1%)
CIE-LABlab(36.50, 22.54, -30.45)
CIE-LCHlch(36.50, 37.89, 306.50°)
OKLaboklab(46.16% 0.0466 -0.0852)
OKLCHoklch(46.16% 0.097 298.7)
XYZxyz(11.7121, 9.2681, 24.0889)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B87 #72874B
analogous
#4B5487 #604B87 #7E4B87
triadic
#604B87 #87604B #4B8760
tetradic
#604B87 #874B54 #72874B #4B877E
square
#604B87 #874B54 #72874B #4B877E
split-complementary
#604B87 #877E4B #54874B
monochromatic
#281F38 #443560 #604B87 #7D65AA #9F8DC0

Accessibility & contrast

On white

7.36
#604B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#604B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604B87
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B87#FFFFFF#000000##FFFFFF
##604B871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#585662
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #604b87;
/* rgb */ color: rgb(96, 75, 135);
/* oklch */ color: oklch(46.2% 0.097 298.7);
Tailwind
colors: {
  custom: {
    50: '#8f7daa',
    500: '#604b87',
    950: '#000000',
  },
}
SCSS
$custom: #604b87;
$custom-light: #8f7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#604b87",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 261,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.09714,
    "h": 298.7
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#604B87
secondary
#9DAC82
accent
#C563A3
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #604B87

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

Preview Lab → · Contrast checker → · Palette generator →

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