#60218E#60218E

#60218E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 306.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#60218E
RGBrgb(96, 33, 142)
HSLhsl(275, 62%, 34%)
HSVhsv(275, 77%, 56%)
CMYKcmyk(32.4%, 76.8%, 0%, 44.3%)
CIE-LABlab(28.19, 47.52, -48.07)
CIE-LCHlch(28.19, 67.60, 314.67°)
OKLaboklab(40.23% 0.1007 -0.1367)
OKLCHoklch(40.23% 0.17 306.4)
XYZxyz(10.2491, 5.5276, 26.1129)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60218E #4F8E21
analogous
#2A218E #60218E #8E2186
triadic
#60218E #8E6021 #218E60
tetradic
#60218E #8E2A21 #4F8E21 #21868E
square
#60218E #8E2A21 #4F8E21 #21868E
split-complementary
#60218E #868E21 #218E2A
monochromatic
#1D0A2B #3E155C #60218E #822DC0 #9F52D7

Accessibility & contrast

On white

9.97
#60218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#60218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60218E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60218E#FFFFFF#000000##FFFFFF
##60218E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#583C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #60218e;
/* rgb */ color: rgb(96, 33, 142);
/* oklch */ color: oklch(40.2% 0.170 306.4);
Tailwind
colors: {
  custom: {
    50: '#9263b0',
    500: '#60218e',
    950: '#000000',
  },
}
SCSS
$custom: #60218e;
$custom-light: #9263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#60218e",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 274.679,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.16977,
    "h": 306.4
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#60218E
secondary
#7DBA50
accent
#E54287
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60218E

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

Preview Lab → · Contrast checker → · Palette generator →

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