#604682#604682

#604682 is a dark, moderate violet. Relative luminance 0.085; OKLCH L 44.9% C 0.099 H 302.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#604682
RGBrgb(96, 70, 130)
HSLhsl(266, 30%, 39%)
HSVhsv(266, 46%, 51%)
CMYKcmyk(26.2%, 46.2%, 0%, 49%)
CIE-LABlab(34.96, 24.32, -29.80)
CIE-LCHlch(34.96, 38.46, 309.22°)
OKLaboklab(44.92% 0.0533 -0.0833)
OKLCHoklch(44.92% 0.099 302.6)
XYZxyz(11.0424, 8.4788, 22.1696)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604682 #688246
analogous
#464A82 #604682 #7E4682
triadic
#604682 #826046 #468260
tetradic
#604682 #82464A #688246 #46827E
square
#604682 #82464A #688246 #46827E
split-complementary
#604682 #827E46 #4A8246
monochromatic
#251B32 #43315A #604682 #7E5DA8 #9D85BD

Accessibility & contrast

On white

7.79
#604682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#604682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604682
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604682#FFFFFF#000000##FFFFFF
##6046821.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#5A505E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604682;
/* rgb */ color: rgb(96, 70, 130);
/* oklch */ color: oklch(44.9% 0.099 302.6);
Tailwind
colors: {
  custom: {
    50: '#8f7aa6',
    500: '#604682',
    950: '#000000',
  },
}
SCSS
$custom: #604682;
$custom-light: #8f7aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#604682",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 266,
    "s": 30,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44919,
    "c": 0.0989,
    "h": 302.6
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#604682
secondary
#95A97B
accent
#C6629B
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #604682

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

Preview Lab → · Contrast checker → · Palette generator →

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