#603166#603166

#603166 is a dark, moderate purple. Relative luminance 0.056; OKLCH L 39.6% C 0.102 H 322.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#603166
RGBrgb(96, 49, 102)
HSLhsl(293, 35%, 30%)
HSVhsv(293, 52%, 40%)
CMYKcmyk(5.9%, 52%, 0%, 60%)
CIE-LABlab(28.49, 30.23, -22.32)
CIE-LCHlch(28.49, 37.57, 323.56°)
OKLaboklab(39.61% 0.0815 -0.0615)
OKLCHoklch(39.61% 0.102 322.9)
XYZxyz(8.3202, 5.6431, 13.2188)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603166 #376631
analogous
#463166 #603166 #663151
triadic
#603166 #666031 #316660
tetradic
#603166 #664631 #376631 #315166
square
#603166 #664631 #376631 #315166
split-complementary
#603166 #516631 #316646
monochromatic
#130A15 #391D3D #603166 #87458F #A95FB2

Accessibility & contrast

On white

9.87
#603166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#603166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603166
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603166#FFFFFF#000000##FFFFFF
##6031661.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#384564
Tritanopia (blue-blind)
#613847
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #603166;
/* rgb */ color: rgb(96, 49, 102);
/* oklch */ color: oklch(39.6% 0.102 322.9);
Tailwind
colors: {
  custom: {
    50: '#8f6b92',
    500: '#603166',
    950: '#000000',
  },
}
SCSS
$custom: #603166;
$custom-light: #8f6b92;
$custom-dark: #000000;
JSON
{
  "hex": "#603166",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 293.208,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.10214,
    "h": 322.9
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#603166
secondary
#62975C
accent
#CB5D69
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C070D
muted
#7D7A7D

Preview Lab

Preview with #603166

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

Preview Lab → · Contrast checker → · Palette generator →

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