#604386#604386

#604386 is a dark, moderate violet. Relative luminance 0.082; OKLCH L 44.6% C 0.110 H 302.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#604386
RGBrgb(96, 67, 134)
HSLhsl(266, 33%, 39%)
HSVhsv(266, 50%, 53%)
CMYKcmyk(28.4%, 50%, 0%, 47.5%)
CIE-LABlab(34.44, 27.22, -33.09)
CIE-LCHlch(34.44, 42.84, 309.45°)
OKLaboklab(44.6% 0.0584 -0.0929)
OKLCHoklch(44.6% 0.11 302.1)
XYZxyz(11.1331, 8.2223, 23.5502)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604386 #698643
analogous
#434886 #604386 #824386
triadic
#604386 #866043 #438660
tetradic
#604386 #864348 #698643 #438682
square
#604386 #864348 #698643 #438682
split-complementary
#604386 #868243 #488643
monochromatic
#261A34 #432F5D #604386 #7E5AAC #9E83C1

Accessibility & contrast

On white

7.94
#604386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#604386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604386
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604386#FFFFFF#000000##FFFFFF
##6043861.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#594F5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #604386;
/* rgb */ color: rgb(96, 67, 134);
/* oklch */ color: oklch(44.6% 0.110 302.1);
Tailwind
colors: {
  custom: {
    50: '#8f78a9',
    500: '#604386',
    950: '#000000',
  },
}
SCSS
$custom: #604386;
$custom-light: #8f78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#604386",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 265.97,
    "s": 33.333,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.10969,
    "h": 302.1
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#604386
secondary
#96AC79
accent
#C95E9B
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #604386

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

Preview Lab → · Contrast checker → · Palette generator →

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