#60218B#60218B

#60218B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 307.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#60218B
RGBrgb(96, 33, 139)
HSLhsl(276, 62%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(30.9%, 76.3%, 0%, 45.5%)
CIE-LABlab(27.95, 46.82, -46.60)
CIE-LCHlch(27.95, 66.05, 315.13°)
OKLaboklab(39.99% 0.1013 -0.1324)
OKLCHoklch(39.99% 0.167 307.4)
XYZxyz(10.0269, 5.4387, 24.9426)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60218B #4C8B21
analogous
#2B218B #60218B #8B2181
triadic
#60218B #8B6021 #218B60
tetradic
#60218B #8B2B21 #4C8B21 #21818B
square
#60218B #8B2B21 #4C8B21 #21818B
split-complementary
#60218B #818B21 #218B2B
monochromatic
#1C0A28 #3E155A #60218B #822DBC #A051D6

Accessibility & contrast

On white

10.06
#60218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#60218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60218B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60218B#FFFFFF#000000##FFFFFF
##60218B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#593B54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #60218b;
/* rgb */ color: rgb(96, 33, 139);
/* oklch */ color: oklch(40.0% 0.167 307.4);
Tailwind
colors: {
  custom: {
    50: '#9263ae',
    500: '#60218b',
    950: '#000000',
  },
}
SCSS
$custom: #60218b;
$custom-light: #9263ae;
$custom-dark: #000000;
JSON
{
  "hex": "#60218b",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 275.66,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.16668,
    "h": 307.4
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#60218B
secondary
#7AB94F
accent
#E54385
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60218B

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

Preview Lab → · Contrast checker → · Palette generator →

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