#604285#604285

#604285 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.4% C 0.110 H 302.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#604285
RGBrgb(96, 66, 133)
HSLhsl(267, 34%, 39%)
HSVhsv(267, 50%, 52%)
CMYKcmyk(27.8%, 50.4%, 0%, 47.8%)
CIE-LABlab(34.14, 27.57, -32.94)
CIE-LCHlch(34.14, 42.96, 309.92°)
OKLaboklab(44.36% 0.0597 -0.0925)
OKLCHoklch(44.36% 0.11 302.8)
XYZxyz(11.0048, 8.0767, 23.1649)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604285 #678542
analogous
#424685 #604285 #824285
triadic
#604285 #856042 #428560
tetradic
#604285 #854246 #678542 #428582
square
#604285 #854246 #678542 #428582
split-complementary
#604285 #858242 #468542
monochromatic
#251933 #422E5C #604285 #7E58AC #9D81C0

Accessibility & contrast

On white

8.03
#604285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#604285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604285
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604285#FFFFFF#000000##FFFFFF
##6042851.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604285;
/* rgb */ color: rgb(96, 66, 133);
/* oklch */ color: oklch(44.4% 0.110 302.8);
Tailwind
colors: {
  custom: {
    50: '#8f77a9',
    500: '#604285',
    950: '#000000',
  },
}
SCSS
$custom: #604285;
$custom-light: #8f77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#604285",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 266.866,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.11006,
    "h": 302.8
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#604285
secondary
#94AB78
accent
#CA5E9A
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #604285

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

Preview Lab → · Contrast checker → · Palette generator →

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