#604387#604387

#604387 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.7% C 0.111 H 301.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#604387
RGBrgb(96, 67, 135)
HSLhsl(266, 34%, 40%)
HSVhsv(266, 50%, 53%)
CMYKcmyk(28.9%, 50.4%, 0%, 47.1%)
CIE-LABlab(34.50, 27.49, -33.61)
CIE-LCHlch(34.50, 43.42, 309.28°)
OKLaboklab(44.66% 0.0585 -0.0944)
OKLCHoklch(44.66% 0.111 301.8)
XYZxyz(11.2032, 8.2504, 23.9192)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604387 #6A8743
analogous
#434887 #604387 #824387
triadic
#604387 #876043 #438760
tetradic
#604387 #874348 #6A8743 #438782
square
#604387 #874348 #6A8743 #438782
split-complementary
#604387 #878243 #488743
monochromatic
#261A35 #432F5E #604387 #7D5AAD #9E83C1

Accessibility & contrast

On white

7.92
#604387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#604387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604387
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604387#FFFFFF#000000##FFFFFF
##6043871.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604387;
/* rgb */ color: rgb(96, 67, 135);
/* oklch */ color: oklch(44.7% 0.111 301.8);
Tailwind
colors: {
  custom: {
    50: '#8f78aa',
    500: '#604387',
    950: '#000000',
  },
}
SCSS
$custom: #604387;
$custom-light: #8f78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#604387",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 265.588,
    "s": 33.663,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.11105,
    "h": 301.8
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#604387
secondary
#97AC79
accent
#CA5E9C
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #604387

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

Preview Lab → · Contrast checker → · Palette generator →

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