#60228B#60228B

#60228B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.166 H 307.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#60228B
RGBrgb(96, 34, 139)
HSLhsl(275, 61%, 34%)
HSVhsv(275, 76%, 55%)
CMYKcmyk(30.9%, 75.5%, 0%, 45.5%)
CIE-LABlab(28.10, 46.38, -46.35)
CIE-LCHlch(28.10, 65.58, 315.02°)
OKLaboklab(40.09% 0.1003 -0.1316)
OKLCHoklch(40.09% 0.166 307.3)
XYZxyz(10.0551, 5.4951, 24.9520)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60228B #4D8B22
analogous
#2C228B #60228B #8B2282
triadic
#60228B #8B6022 #228B60
tetradic
#60228B #8B2C22 #4D8B22 #22828B
square
#60228B #8B2C22 #4D8B22 #22828B
split-complementary
#60228B #828B22 #228B2C
monochromatic
#1C0A29 #3E165A #60228B #822EBC #9F53D5

Accessibility & contrast

On white

10.00
#60228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#60228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60228B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60228B#FFFFFF#000000##FFFFFF
##60228B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #60228b;
/* rgb */ color: rgb(96, 34, 139);
/* oklch */ color: oklch(40.1% 0.166 307.3);
Tailwind
colors: {
  custom: {
    50: '#9264ae',
    500: '#60228b',
    950: '#000000',
  },
}
SCSS
$custom: #60228b;
$custom-light: #9264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#60228b",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 275.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.16552,
    "h": 307.3
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#60228B
secondary
#7BB850
accent
#E44485
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60228B

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

Preview Lab → · Contrast checker → · Palette generator →

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