#603887#603887

#603887 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.8% C 0.130 H 304.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#603887
RGBrgb(96, 56, 135)
HSLhsl(270, 41%, 37%)
HSVhsv(270, 59%, 53%)
CMYKcmyk(28.9%, 58.5%, 0%, 47.1%)
CIE-LABlab(31.95, 34.05, -37.67)
CIE-LCHlch(31.95, 50.78, 312.12°)
OKLaboklab(42.78% 0.0741 -0.1062)
OKLCHoklch(42.78% 0.13 304.9)
XYZxyz(10.6103, 7.0645, 23.7216)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603887 #5F8738
analogous
#393887 #603887 #873886
triadic
#603887 #876038 #388760
tetradic
#603887 #873938 #5F8738 #388687
square
#603887 #873938 #5F8738 #388687
split-complementary
#603887 #868738 #388739
monochromatic
#221430 #41265C #603887 #7F4AB2 #9D74C5

Accessibility & contrast

On white

8.70
#603887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#603887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603887
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603887#FFFFFF#000000##FFFFFF
##6038871.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#59475A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #603887;
/* rgb */ color: rgb(96, 56, 135);
/* oklch */ color: oklch(42.8% 0.130 304.9);
Tailwind
colors: {
  custom: {
    50: '#9070aa',
    500: '#603887',
    950: '#000000',
  },
}
SCSS
$custom: #603887;
$custom-light: #9070aa;
$custom-dark: #000000;
JSON
{
  "hex": "#603887",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 270.38,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.12955,
    "h": 304.9
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#603887
secondary
#8DAE6D
accent
#D15793
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #603887

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

Preview Lab → · Contrast checker → · Palette generator →

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