#603896#603896

#603896 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.148 H 299.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#603896
RGBrgb(96, 56, 150)
HSLhsl(266, 46%, 40%)
HSVhsv(266, 63%, 59%)
CMYKcmyk(36%, 62.7%, 0%, 41.2%)
CIE-LABlab(32.96, 38.00, -45.27)
CIE-LCHlch(32.96, 59.11, 310.01°)
OKLaboklab(43.83% 0.0739 -0.1286)
OKLCHoklch(43.83% 0.148 299.9)
XYZxyz(11.7417, 7.5171, 29.6806)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603896 #6E9638
analogous
#383F96 #603896 #8F3896
triadic
#603896 #966038 #389660
tetradic
#603896 #96383F #6E9638 #38968F
square
#603896 #96383F #6E9638 #38968F
split-complementary
#603896 #968F38 #3F9638
monochromatic
#27173D #432769 #603896 #7D4EBD #9E7BCE

Accessibility & contrast

On white

8.39
#603896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#603896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603896
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603896#FFFFFF#000000##FFFFFF
##6038961.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#154D94
Tritanopia (blue-blind)
#544C61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #603896;
/* rgb */ color: rgb(96, 56, 150);
/* oklch */ color: oklch(43.8% 0.148 299.9);
Tailwind
colors: {
  custom: {
    50: '#9171b5',
    500: '#603896',
    950: '#000000',
  },
}
SCSS
$custom: #603896;
$custom-light: #9171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#603896",
  "rgb": {
    "r": 96,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 265.532,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.1483,
    "h": 299.9
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#603896
secondary
#9AB773
accent
#D5529E
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603896

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

Preview Lab → · Contrast checker → · Palette generator →

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