#604B79#604B79

#604B79 is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.4% C 0.077 H 304.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#604B79
RGBrgb(96, 75, 121)
HSLhsl(267, 23%, 38%)
HSVhsv(267, 38%, 47%)
CMYKcmyk(20.7%, 38%, 0%, 52.5%)
CIE-LABlab(35.79, 18.87, -22.93)
CIE-LCHlch(35.79, 29.70, 309.46°)
OKLaboklab(45.4% 0.0436 -0.0635)
OKLCHoklch(45.4% 0.077 304.5)
XYZxyz(10.7904, 8.8995, 19.2348)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B79 #64794B
analogous
#4B4D79 #604B79 #774B79
triadic
#604B79 #79604B #4B7960
tetradic
#604B79 #794B4D #64794B #4B7977
square
#604B79 #794B4D #64794B #4B7977
split-complementary
#604B79 #79774B #4D794B
monochromatic
#241C2D #423453 #604B79 #7E639E #9D89B6

Accessibility & contrast

On white

7.55
#604B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#604B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604B79
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B79#FFFFFF#000000##FFFFFF
##604B791.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#5C525C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #604b79;
/* rgb */ color: rgb(96, 75, 121);
/* oklch */ color: oklch(45.4% 0.077 304.5);
Tailwind
colors: {
  custom: {
    50: '#8e7da0',
    500: '#604b79',
    950: '#000000',
  },
}
SCSS
$custom: #604b79;
$custom-light: #8e7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#604b79",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 267.391,
    "s": 23.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.07702,
    "h": 304.5
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#604B79
secondary
#91A27E
accent
#C06898
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C090E
muted
#7D7B7E

Preview Lab

Preview with #604B79

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

Preview Lab → · Contrast checker → · Palette generator →

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