#604186#604186

#604186 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.2% C 0.113 H 302.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#604186
RGBrgb(96, 65, 134)
HSLhsl(267, 35%, 39%)
HSVhsv(267, 51%, 53%)
CMYKcmyk(28.4%, 51.5%, 0%, 47.5%)
CIE-LABlab(33.96, 28.44, -33.85)
CIE-LCHlch(33.96, 44.21, 310.04°)
OKLaboklab(44.24% 0.0613 -0.0951)
OKLCHoklch(44.24% 0.113 302.8)
XYZxyz(11.0163, 7.9886, 23.5112)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604186 #678641
analogous
#414586 #604186 #834186
triadic
#604186 #866041 #418660
tetradic
#604186 #864145 #678641 #418683
square
#604186 #864145 #678641 #418683
split-complementary
#604186 #868341 #458641
monochromatic
#251934 #422D5D #604186 #7E57AD #9D80C1

Accessibility & contrast

On white

8.08
#604186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#604186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604186
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604186#FFFFFF#000000##FFFFFF
##6041861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604186;
/* rgb */ color: rgb(96, 65, 134);
/* oklch */ color: oklch(44.2% 0.113 302.8);
Tailwind
colors: {
  custom: {
    50: '#8f76a9',
    500: '#604186',
    950: '#000000',
  },
}
SCSS
$custom: #604186;
$custom-light: #8f76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#604186",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 266.957,
    "s": 34.673,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.11314,
    "h": 302.8
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#604186
secondary
#94AC77
accent
#CB5D99
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0810
muted
#7D7B7F

Preview Lab

Preview with #604186

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

Preview Lab → · Contrast checker → · Palette generator →

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