#604C7C#604C7C

#604C7C is a mid, moderate violet. Relative luminance 0.091; OKLCH L 45.8% C 0.079 H 302.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#604C7C
RGBrgb(96, 76, 124)
HSLhsl(265, 24%, 39%)
HSVhsv(265, 39%, 49%)
CMYKcmyk(22.6%, 38.7%, 0%, 51.4%)
CIE-LABlab(36.20, 19.01, -24.15)
CIE-LCHlch(36.20, 30.74, 308.21°)
OKLaboklab(45.75% 0.0428 -0.067)
OKLCHoklch(45.75% 0.079 302.5)
XYZxyz(11.0456, 9.1109, 20.2415)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604C7C #687C4C
analogous
#4C507C #604C7C #784C7C
triadic
#604C7C #7C604C #4C7C60
tetradic
#604C7C #7C4C50 #687C4C #4C7C78
square
#604C7C #7C4C50 #687C4C #4C7C78
split-complementary
#604C7C #7C784C #507C4C
monochromatic
#251D30 #433556 #604C7C #7E65A0 #9D8BB8

Accessibility & contrast

On white

7.44
#604C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#604C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604C7C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604C7C#FFFFFF#000000##FFFFFF
##604C7C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#5B545E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #604c7c;
/* rgb */ color: rgb(96, 76, 124);
/* oklch */ color: oklch(45.8% 0.079 302.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ea2',
    500: '#604c7c',
    950: '#000000',
  },
}
SCSS
$custom: #604c7c;
$custom-light: #8e7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#604c7c",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 265,
    "s": 24,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.07948,
    "h": 302.5
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#604C7C
secondary
#95A480
accent
#C0679B
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #604C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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