#604289#604289

#604289 is a dark, moderate violet. Relative luminance 0.082; OKLCH L 44.6% C 0.115 H 301.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#604289
RGBrgb(96, 66, 137)
HSLhsl(265, 35%, 40%)
HSVhsv(265, 52%, 54%)
CMYKcmyk(29.9%, 51.8%, 0%, 46.3%)
CIE-LABlab(34.37, 28.63, -35.04)
CIE-LCHlch(34.37, 45.25, 309.25°)
OKLaboklab(44.61% 0.0601 -0.0986)
OKLCHoklch(44.61% 0.115 301.4)
XYZxyz(11.2864, 8.1893, 24.6482)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604289 #6B8942
analogous
#424889 #604289 #834289
triadic
#604289 #896042 #428960
tetradic
#604289 #894248 #6B8942 #428983
square
#604289 #894248 #6B8942 #428983
split-complementary
#604289 #898342 #488942
monochromatic
#261A36 #432E60 #604289 #7D59AF #9E82C3

Accessibility & contrast

On white

7.96
#604289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#604289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604289
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604289#FFFFFF#000000##FFFFFF
##6042891.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#335187
Tritanopia (blue-blind)
#584F5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #604289;
/* rgb */ color: rgb(96, 66, 137);
/* oklch */ color: oklch(44.6% 0.115 301.4);
Tailwind
colors: {
  custom: {
    50: '#8f77ac',
    500: '#604289',
    950: '#000000',
  },
}
SCSS
$custom: #604289;
$custom-light: #8f77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#604289",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 265.352,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.11548,
    "h": 301.4
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#604289
secondary
#97AE79
accent
#CB5D9C
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #604289

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

Preview Lab → · Contrast checker → · Palette generator →

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