#60229D#60229D

#60229D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.184 H 301.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#60229D
RGBrgb(96, 34, 157)
HSLhsl(270, 64%, 37%)
HSVhsv(270, 78%, 62%)
CMYKcmyk(38.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(29.58, 50.71, -55.02)
CIE-LCHlch(29.58, 74.83, 312.66°)
OKLaboklab(41.59% 0.0961 -0.1571)
OKLCHoklch(41.59% 0.184 301.5)
XYZxyz(11.4802, 6.0651, 32.4576)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60229D #5F9D22
analogous
#23229D #60229D #9D229C
triadic
#60229D #9D6022 #229D60
tetradic
#60229D #9D2322 #5F9D22 #229C9D
square
#60229D #9D2322 #5F9D22 #229C9D
split-complementary
#60229D #9C9D22 #229D23
monochromatic
#220C38 #41176B #60229D #7F2DCF #9D5DDC

Accessibility & contrast

On white

9.49
#60229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#60229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60229D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60229D#FFFFFF#000000##FFFFFF
##60229D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#52435F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #60229d;
/* rgb */ color: rgb(96, 34, 157);
/* oklch */ color: oklch(41.6% 0.184 301.5);
Tailwind
colors: {
  custom: {
    50: '#9364bb',
    500: '#60229d',
    950: '#000000',
  },
}
SCSS
$custom: #60229d;
$custom-light: #9364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#60229d",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 270.244,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.18419,
    "h": 301.5
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#60229D
secondary
#8DC15A
accent
#E74093
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #60229D

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

Preview Lab → · Contrast checker → · Palette generator →

#60229D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva