#60229B#60229B

#60229B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 302.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#60229B
RGBrgb(96, 34, 155)
HSLhsl(271, 64%, 37%)
HSVhsv(271, 78%, 61%)
CMYKcmyk(38.1%, 78.1%, 0%, 39.2%)
CIE-LABlab(29.41, 50.22, -54.08)
CIE-LCHlch(29.41, 73.80, 312.88°)
OKLaboklab(41.42% 0.0967 -0.1544)
OKLCHoklch(41.42% 0.182 302.1)
XYZxyz(11.3109, 5.9974, 31.5657)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60229B #5D9B22
analogous
#24229B #60229B #9B229A
triadic
#60229B #9B6022 #229B60
tetradic
#60229B #9B2422 #5D9B22 #229A9B
square
#60229B #9B2422 #5D9B22 #229A9B
split-complementary
#60229B #9A9B22 #229B24
monochromatic
#220C37 #411769 #60229B #7F2DCD #9D5CDB

Accessibility & contrast

On white

9.55
#60229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#60229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60229B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60229B#FFFFFF#000000##FFFFFF
##60229B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#53425E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #60229b;
/* rgb */ color: rgb(96, 34, 155);
/* oklch */ color: oklch(41.4% 0.182 302.1);
Tailwind
colors: {
  custom: {
    50: '#9364b9',
    500: '#60229b',
    950: '#000000',
  },
}
SCSS
$custom: #60229b;
$custom-light: #9364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#60229b",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 270.744,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.18213,
    "h": 302.1
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#60229B
secondary
#8BC059
accent
#E74192
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #60229B

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

Preview Lab → · Contrast checker → · Palette generator →

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