#604875#604875

#604875 is a dark, moderate violet. Relative luminance 0.084; OKLCH L 44.6% C 0.077 H 308.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#604875
RGBrgb(96, 72, 117)
HSLhsl(272, 24%, 37%)
HSVhsv(272, 38%, 46%)
CMYKcmyk(17.9%, 38.5%, 0%, 54.1%)
CIE-LABlab(34.81, 19.75, -21.96)
CIE-LCHlch(34.81, 29.53, 311.97°)
OKLaboklab(44.59% 0.0474 -0.0607)
OKLCHoklch(44.59% 0.077 308)
XYZxyz(10.3515, 8.4060, 17.9034)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604875 #5D7548
analogous
#494875 #604875 #754874
triadic
#604875 #756048 #487560
tetradic
#604875 #754948 #5D7548 #487475
square
#604875 #754948 #5D7548 #487475
split-complementary
#604875 #747548 #487549
monochromatic
#221929 #41314F #604875 #7F5F9B #9D84B3

Accessibility & contrast

On white

7.83
#604875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#604875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604875
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604875#FFFFFF#000000##FFFFFF
##6048751.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5177
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#5D4F59
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604875;
/* rgb */ color: rgb(96, 72, 117);
/* oklch */ color: oklch(44.6% 0.077 308.0);
Tailwind
colors: {
  custom: {
    50: '#8e7b9d',
    500: '#604875',
    950: '#000000',
  },
}
SCSS
$custom: #604875;
$custom-light: #8e7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#604875",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 272,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.07702,
    "h": 308
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#604875
secondary
#8BA079
accent
#C06891
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C090E
muted
#7D7B7E

Preview Lab

Preview with #604875

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

Preview Lab → · Contrast checker → · Palette generator →

#604875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva