#604582#604582

#604582 is a dark, moderate violet. Relative luminance 0.084; OKLCH L 44.7% C 0.101 H 303.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#604582
RGBrgb(96, 69, 130)
HSLhsl(267, 31%, 39%)
HSVhsv(267, 47%, 51%)
CMYKcmyk(26.2%, 46.9%, 0%, 49%)
CIE-LABlab(34.71, 24.93, -30.19)
CIE-LCHlch(34.71, 39.16, 309.55°)
OKLaboklab(44.73% 0.0548 -0.0844)
OKLCHoklch(44.73% 0.101 303)
XYZxyz(10.9804, 8.3548, 22.1489)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604582 #678245
analogous
#454982 #604582 #7F4582
triadic
#604582 #826045 #458260
tetradic
#604582 #824549 #678245 #45827F
square
#604582 #824549 #678245 #45827F
split-complementary
#604582 #827F45 #498245
monochromatic
#251B32 #42305A #604582 #7E5CA8 #9D84BE

Accessibility & contrast

On white

7.86
#604582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#604582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604582
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604582#FFFFFF#000000##FFFFFF
##6045821.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#3B5280
Tritanopia (blue-blind)
#5A4F5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604582;
/* rgb */ color: rgb(96, 69, 130);
/* oklch */ color: oklch(44.7% 0.101 303.0);
Tailwind
colors: {
  custom: {
    50: '#8f79a6',
    500: '#604582',
    950: '#000000',
  },
}
SCSS
$custom: #604582;
$custom-light: #8f79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#604582",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 266.557,
    "s": 30.653,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.10067,
    "h": 303
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#604582
secondary
#94A97A
accent
#C7619A
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #604582

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

Preview Lab → · Contrast checker → · Palette generator →

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