#60228E#60228E

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

Color values

HEX#60228E
RGBrgb(96, 34, 142)
HSLhsl(274, 61%, 35%)
HSVhsv(274, 76%, 56%)
CMYKcmyk(32.4%, 76.1%, 0%, 44.3%)
CIE-LABlab(28.34, 47.09, -47.83)
CIE-LCHlch(28.34, 67.12, 314.56°)
OKLaboklab(40.34% 0.0997 -0.136)
OKLCHoklch(40.34% 0.169 306.2)
XYZxyz(10.2773, 5.5839, 26.1223)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60228E #508E22
analogous
#2A228E #60228E #8E2286
triadic
#60228E #8E6022 #228E60
tetradic
#60228E #8E2A22 #508E22 #22868E
square
#60228E #8E2A22 #508E22 #22868E
split-complementary
#60228E #868E22 #228E2A
monochromatic
#1D0A2B #3F165D #60228E #812EBF #9F54D6

Accessibility & contrast

On white

9.92
#60228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#60228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60228E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60228E#FFFFFF#000000##FFFFFF
##60228E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #60228e;
/* rgb */ color: rgb(96, 34, 142);
/* oklch */ color: oklch(40.3% 0.169 306.2);
Tailwind
colors: {
  custom: {
    50: '#9264b0',
    500: '#60228e',
    950: '#000000',
  },
}
SCSS
$custom: #60228e;
$custom-light: #9264b0;
$custom-dark: #000000;
JSON
{
  "hex": "#60228e",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 274.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.16863,
    "h": 306.2
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#60228E
secondary
#7EBA52
accent
#E44388
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60228E

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

Preview Lab → · Contrast checker → · Palette generator →

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