#604F71#604F71

#604F71 is a mid, muted violet. Relative luminance 0.093; OKLCH L 45.8% C 0.058 H 307.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#604F71
RGBrgb(96, 79, 113)
HSLhsl(270, 18%, 38%)
HSVhsv(270, 30%, 44%)
CMYKcmyk(15%, 30.1%, 0%, 55.7%)
CIE-LABlab(36.50, 14.37, -16.86)
CIE-LCHlch(36.50, 22.15, 310.45°)
OKLaboklab(45.82% 0.0349 -0.0462)
OKLCHoklch(45.82% 0.058 307)
XYZxyz(10.5999, 9.2711, 16.8507)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F71 #60714F
analogous
#4F4F71 #604F71 #714F71
triadic
#604F71 #71604F #4F7160
tetradic
#604F71 #714F4F #60714F #4F7171
square
#604F71 #714F4F #60714F #4F7171
split-complementary
#604F71 #71714F #4F714F
monochromatic
#231D29 #41364D #604F71 #7F6895 #9D8CAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604F71#FFFFFF#000000##FFFFFF
##604F711.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)
#495572
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#5E545B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #604f71;
/* rgb */ color: rgb(96, 79, 113);
/* oklch */ color: oklch(45.8% 0.058 307.0);
Tailwind
colors: {
  custom: {
    50: '#8d809a',
    500: '#604f71',
    950: '#000000',
  },
}
SCSS
$custom: #604f71;
$custom-light: #8d809a;
$custom-dark: #000000;
JSON
{
  "hex": "#604f71",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 17.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.05787,
    "h": 307
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#604F71
secondary
#8E9C80
accent
#BA6D94
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #604F71

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

Preview Lab → · Contrast checker → · Palette generator →

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