#604393#604393

#604393 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.4% C 0.127 H 297.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#604393
RGBrgb(96, 67, 147)
HSLhsl(262, 37%, 42%)
HSVhsv(262, 54%, 58%)
CMYKcmyk(34.7%, 54.4%, 0%, 42.4%)
CIE-LABlab(35.22, 30.74, -39.81)
CIE-LCHlch(35.22, 50.30, 307.67°)
OKLaboklab(45.43% 0.0595 -0.1126)
OKLCHoklch(45.43% 0.127 297.9)
XYZxyz(12.0962, 8.6075, 28.6222)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604393 #769343
analogous
#434E93 #604393 #884393
triadic
#604393 #936043 #439360
tetradic
#604393 #93434E #769343 #439388
square
#604393 #93434E #769343 #439388
split-complementary
#604393 #938843 #4E9343
monochromatic
#291D3F #453069 #604393 #7E5EB5 #9F88C9

Accessibility & contrast

On white

7.72
#604393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#604393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604393
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604393#FFFFFF#000000##FFFFFF
##6043931.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#555364
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #604393;
/* rgb */ color: rgb(96, 67, 147);
/* oklch */ color: oklch(45.4% 0.127 297.9);
Tailwind
colors: {
  custom: {
    50: '#9078b3',
    500: '#604393',
    950: '#000000',
  },
}
SCSS
$custom: #604393;
$custom-light: #9078b3;
$custom-dark: #000000;
JSON
{
  "hex": "#604393",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 261.75,
    "s": 37.383,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45431,
    "c": 0.12732,
    "h": 297.9
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#604393
secondary
#A0B47E
accent
#CD5AA4
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604393

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

Preview Lab → · Contrast checker → · Palette generator →

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