#60228D#60228D

#60228D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.168 H 306.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#60228D
RGBrgb(96, 34, 141)
HSLhsl(275, 61%, 34%)
HSVhsv(275, 76%, 55%)
CMYKcmyk(31.9%, 75.9%, 0%, 44.7%)
CIE-LABlab(28.26, 46.86, -47.34)
CIE-LCHlch(28.26, 66.61, 314.71°)
OKLaboklab(40.25% 0.0999 -0.1345)
OKLCHoklch(40.25% 0.168 306.6)
XYZxyz(10.2026, 5.5540, 25.7287)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60228D #4F8D22
analogous
#2A228D #60228D #8D2285
triadic
#60228D #8D6022 #228D60
tetradic
#60228D #8D2A22 #4F8D22 #22858D
square
#60228D #8D2A22 #4F8D22 #22858D
split-complementary
#60228D #858D22 #228D2A
monochromatic
#1D0A2A #3E165C #60228D #822EBE #9F54D6

Accessibility & contrast

On white

9.95
#60228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#60228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60228D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60228D#FFFFFF#000000##FFFFFF
##60228D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#583C56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #60228d;
/* rgb */ color: rgb(96, 34, 141);
/* oklch */ color: oklch(40.3% 0.168 306.6);
Tailwind
colors: {
  custom: {
    50: '#9264af',
    500: '#60228d',
    950: '#000000',
  },
}
SCSS
$custom: #60228d;
$custom-light: #9264af;
$custom-dark: #000000;
JSON
{
  "hex": "#60228d",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 274.766,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.16759,
    "h": 306.6
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#60228D
secondary
#7DB951
accent
#E44487
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60228D

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

Preview Lab → · Contrast checker → · Palette generator →

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