#60218A#60218A

#60218A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.166 H 307.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#60218A
RGBrgb(96, 33, 138)
HSLhsl(276, 61%, 34%)
HSVhsv(276, 76%, 54%)
CMYKcmyk(30.4%, 76.1%, 0%, 45.9%)
CIE-LABlab(27.87, 46.58, -46.10)
CIE-LCHlch(27.87, 65.54, 315.29°)
OKLaboklab(39.91% 0.1015 -0.1309)
OKLCHoklch(39.91% 0.166 307.8)
XYZxyz(9.9542, 5.4096, 24.5596)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60218A #4B8A21
analogous
#2B218A #60218A #8A217F
triadic
#60218A #8A6021 #218A60
tetradic
#60218A #8A2B21 #4B8A21 #217F8A
square
#60218A #8A2B21 #4B8A21 #217F8A
split-complementary
#60218A #7F8A21 #218A2B
monochromatic
#1B0927 #3E1559 #60218A #822DBB #A050D5

Accessibility & contrast

On white

10.09
#60218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#60218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60218A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60218A#FFFFFF#000000##FFFFFF
##60218A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#593A54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #60218a;
/* rgb */ color: rgb(96, 33, 138);
/* oklch */ color: oklch(39.9% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#9263ad',
    500: '#60218a',
    950: '#000000',
  },
}
SCSS
$custom: #60218a;
$custom-light: #9263ad;
$custom-dark: #000000;
JSON
{
  "hex": "#60218a",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 276,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.16565,
    "h": 307.8
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#60218A
secondary
#79B94E
accent
#E54384
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60218A

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

Preview Lab → · Contrast checker → · Palette generator →

#60218A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva