#604591#604591

#604591 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.7% C 0.121 H 297.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#604591
RGBrgb(96, 69, 145)
HSLhsl(261, 36%, 42%)
HSVhsv(261, 52%, 57%)
CMYKcmyk(33.8%, 52.4%, 0%, 43.1%)
CIE-LABlab(35.57, 28.97, -38.03)
CIE-LCHlch(35.57, 47.81, 307.30°)
OKLaboklab(45.65% 0.0566 -0.1073)
OKLCHoklch(45.65% 0.121 297.8)
XYZxyz(12.0616, 8.7872, 27.8432)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604591 #769145
analogous
#455091 #604591 #864591
triadic
#604591 #916045 #459160
tetradic
#604591 #914550 #769145 #459186
square
#604591 #914550 #769145 #459186
split-complementary
#604591 #918645 #509145
monochromatic
#291E3E #453168 #604591 #7E60B3 #9F89C7

Accessibility & contrast

On white

7.62
#604591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#604591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##604591#FFFFFF#000000##FFFFFF
##6045911.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)
#295494
Deuteranopia (green-blind)
#30538F
Tritanopia (blue-blind)
#555464
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #604591;
/* rgb */ color: rgb(96, 69, 145);
/* oklch */ color: oklch(45.7% 0.121 297.8);
Tailwind
colors: {
  custom: {
    50: '#9079b2',
    500: '#604591',
    950: '#000000',
  },
}
SCSS
$custom: #604591;
$custom-light: #9079b2;
$custom-dark: #000000;
JSON
{
  "hex": "#604591",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 261.316,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.12134,
    "h": 297.8
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#604591
secondary
#A0B280
accent
#CC5CA4
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604591

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

Preview Lab → · Contrast checker → · Palette generator →

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