#604286#604286

#604286 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.4% C 0.111 H 302.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#604286
RGBrgb(96, 66, 134)
HSLhsl(266, 34%, 39%)
HSVhsv(266, 51%, 53%)
CMYKcmyk(28.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(34.20, 27.83, -33.47)
CIE-LCHlch(34.20, 43.53, 309.75°)
OKLaboklab(44.42% 0.0598 -0.094)
OKLCHoklch(44.42% 0.111 302.5)
XYZxyz(11.0742, 8.1045, 23.5305)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604286 #688642
analogous
#424686 #604286 #824286
triadic
#604286 #866042 #428660
tetradic
#604286 #864246 #688642 #428682
square
#604286 #864246 #688642 #428682
split-complementary
#604286 #868242 #468642
monochromatic
#251A34 #432E5D #604286 #7E58AD #9D81C1

Accessibility & contrast

On white

8.01
#604286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#604286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604286
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604286#FFFFFF#000000##FFFFFF
##6042861.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#594E5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604286;
/* rgb */ color: rgb(96, 66, 134);
/* oklch */ color: oklch(44.4% 0.111 302.5);
Tailwind
colors: {
  custom: {
    50: '#8f77a9',
    500: '#604286',
    950: '#000000',
  },
}
SCSS
$custom: #604286;
$custom-light: #8f77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#604286",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 266.471,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.11142,
    "h": 302.5
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#604286
secondary
#95AC78
accent
#CA5E9A
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #604286

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

Preview Lab → · Contrast checker → · Palette generator →

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