#604396#604396

#604396 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.6% C 0.131 H 297.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#604396
RGBrgb(96, 67, 150)
HSLhsl(261, 38%, 43%)
HSVhsv(261, 55%, 59%)
CMYKcmyk(36%, 55.3%, 0%, 41.2%)
CIE-LABlab(35.41, 31.57, -41.33)
CIE-LCHlch(35.41, 52.01, 307.37°)
OKLaboklab(45.63% 0.0597 -0.117)
OKLCHoklch(45.63% 0.131 297)
XYZxyz(12.3347, 8.7029, 29.8782)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604396 #799643
analogous
#434F96 #604396 #8A4396
triadic
#604396 #966043 #439660
tetradic
#604396 #96434F #799643 #43968A
square
#604396 #96434F #799643 #43968A
split-complementary
#604396 #968A43 #4F9643
monochromatic
#2A1D41 #45306C #604396 #7E5FB7 #A089CA

Accessibility & contrast

On white

7.66
#604396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#604396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604396
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604396#FFFFFF#000000##FFFFFF
##6043961.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#295294
Tritanopia (blue-blind)
#545466
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #604396;
/* rgb */ color: rgb(96, 67, 150);
/* oklch */ color: oklch(45.6% 0.131 297.0);
Tailwind
colors: {
  custom: {
    50: '#9078b5',
    500: '#604396',
    950: '#000000',
  },
}
SCSS
$custom: #604396;
$custom-light: #9078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#604396",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 260.964,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.13135,
    "h": 297
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#604396
secondary
#A3B57F
accent
#CE5AA5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604396

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

Preview Lab → · Contrast checker → · Palette generator →

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