#604392#604392

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

Color values

HEX#604392
RGBrgb(96, 67, 146)
HSLhsl(262, 37%, 42%)
HSVhsv(262, 54%, 57%)
CMYKcmyk(34.2%, 54.1%, 0%, 42.7%)
CIE-LABlab(35.16, 30.46, -39.30)
CIE-LCHlch(35.16, 49.73, 307.78°)
OKLaboklab(45.37% 0.0595 -0.1111)
OKLCHoklch(45.37% 0.126 298.2)
XYZxyz(12.0181, 8.5763, 28.2108)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604392 #759243
analogous
#434E92 #604392 #884392
triadic
#604392 #926043 #439260
tetradic
#604392 #92434E #759243 #439288
square
#604392 #92434E #759243 #439288
split-complementary
#604392 #928843 #4E9243
monochromatic
#291C3E #443068 #604392 #7D5DB5 #9F87C8

Accessibility & contrast

On white

7.73
#604392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604392
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604392#FFFFFF#000000##FFFFFF
##6043921.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604392;
/* rgb */ color: rgb(96, 67, 146);
/* oklch */ color: oklch(45.4% 0.126 298.2);
Tailwind
colors: {
  custom: {
    50: '#9078b2',
    500: '#604392',
    950: '#000000',
  },
}
SCSS
$custom: #604392;
$custom-light: #9078b2;
$custom-dark: #000000;
JSON
{
  "hex": "#604392",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 262.025,
    "s": 37.089,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.12597,
    "h": 298.2
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#604392
secondary
#9FB37E
accent
#CD5BA3
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604392

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

Preview Lab → · Contrast checker → · Palette generator →

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