#604B74#604B74

#604B74 is a mid, moderate violet. Relative luminance 0.088; OKLCH L 45.1% C 0.070 H 307.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#604B74
RGBrgb(96, 75, 116)
HSLhsl(271, 21%, 37%)
HSVhsv(271, 35%, 45%)
CMYKcmyk(17.2%, 35.3%, 0%, 54.5%)
CIE-LABlab(35.56, 17.62, -20.18)
CIE-LCHlch(35.56, 26.79, 311.12°)
OKLaboklab(45.14% 0.0423 -0.0556)
OKLCHoklch(45.14% 0.07 307.3)
XYZxyz(10.4917, 8.7800, 17.6616)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B74 #5F744B
analogous
#4C4B74 #604B74 #744B73
triadic
#604B74 #74604B #4B7460
tetradic
#604B74 #744C4B #5F744B #4B7374
square
#604B74 #744C4B #5F744B #4B7374
split-complementary
#604B74 #73744B #4B744C
monochromatic
#221B2A #41334F #604B74 #7F6399 #9D88B2

Accessibility & contrast

On white

7.62
#604B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#604B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604B74
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B74#FFFFFF#000000##FFFFFF
##604B741.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#5D515A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #604b74;
/* rgb */ color: rgb(96, 75, 116);
/* oklch */ color: oklch(45.1% 0.070 307.3);
Tailwind
colors: {
  custom: {
    50: '#8e7d9c',
    500: '#604b74',
    950: '#000000',
  },
}
SCSS
$custom: #604b74;
$custom-light: #8e7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#604b74",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 116
  },
  "hsl": {
    "h": 270.732,
    "s": 21.466,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.06987,
    "h": 307.3
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#604B74
secondary
#8D9E7C
accent
#BE6A93
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C090E
muted
#7D7B7E

Preview Lab

Preview with #604B74

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

Preview Lab → · Contrast checker → · Palette generator →

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