#604686#604686

#604686 is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.2% C 0.104 H 301.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#604686
RGBrgb(96, 70, 134)
HSLhsl(264, 31%, 40%)
HSVhsv(264, 48%, 53%)
CMYKcmyk(28.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(35.18, 25.37, -31.92)
CIE-LCHlch(35.18, 40.77, 308.48°)
OKLaboklab(45.15% 0.0539 -0.0895)
OKLCHoklch(45.15% 0.104 301.1)
XYZxyz(11.3161, 8.5883, 23.6112)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604686 #6C8646
analogous
#464C86 #604686 #804686
triadic
#604686 #866046 #468660
tetradic
#604686 #86464C #6C8646 #468680
square
#604686 #86464C #6C8646 #468680
split-complementary
#604686 #868046 #4C8646
monochromatic
#261C36 #43315E #604686 #7D5EAB #9E86C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604686#FFFFFF#000000##FFFFFF
##6046861.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)
#335288
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#59515F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #604686;
/* rgb */ color: rgb(96, 70, 134);
/* oklch */ color: oklch(45.2% 0.104 301.1);
Tailwind
colors: {
  custom: {
    50: '#8f7aa9',
    500: '#604686',
    950: '#000000',
  },
}
SCSS
$custom: #604686;
$custom-light: #8f7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#604686",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 264.375,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.10447,
    "h": 301.1
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#604686
secondary
#98AB7C
accent
#C8609E
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #604686

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

Preview Lab → · Contrast checker → · Palette generator →

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