#603196#603196

#603196 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.158 H 301.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#603196
RGBrgb(96, 49, 150)
HSLhsl(268, 51%, 39%)
HSVhsv(268, 67%, 59%)
CMYKcmyk(36%, 67.3%, 0%, 41.2%)
CIE-LABlab(31.54, 41.83, -47.55)
CIE-LCHlch(31.54, 63.33, 311.34°)
OKLaboklab(42.81% 0.0823 -0.1352)
OKLCHoklch(42.81% 0.158 301.3)
XYZxyz(11.4259, 6.8854, 29.5753)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603196 #679631
analogous
#313496 #603196 #933196
triadic
#603196 #966031 #319660
tetradic
#603196 #963134 #679631 #319693
square
#603196 #963134 #679631 #319693
split-complementary
#603196 #969331 #349631
monochromatic
#25133A #422268 #603196 #7E43C1 #9D71D1

Accessibility & contrast

On white

8.83
#603196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#603196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603196
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603196#FFFFFF#000000##FFFFFF
##6031961.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#55485F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #603196;
/* rgb */ color: rgb(96, 49, 150);
/* oklch */ color: oklch(42.8% 0.158 301.3);
Tailwind
colors: {
  custom: {
    50: '#926cb6',
    500: '#603196',
    950: '#000000',
  },
}
SCSS
$custom: #603196;
$custom-light: #926cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#603196",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 267.921,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.15833,
    "h": 301.3
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#603196
secondary
#94B86A
accent
#DA4E99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #603196

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

Preview Lab → · Contrast checker → · Palette generator →

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