#60228F#60228F

#60228F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 305.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#60228F
RGBrgb(96, 34, 143)
HSLhsl(274, 62%, 35%)
HSVhsv(274, 76%, 56%)
CMYKcmyk(32.9%, 76.2%, 0%, 43.9%)
CIE-LABlab(28.42, 47.33, -48.32)
CIE-LCHlch(28.42, 67.64, 314.41°)
OKLaboklab(40.42% 0.0995 -0.1374)
OKLCHoklch(40.42% 0.17 305.9)
XYZxyz(10.3527, 5.6141, 26.5195)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60228F #518F22
analogous
#29228F #60228F #8F2288
triadic
#60228F #8F6022 #228F60
tetradic
#60228F #8F2922 #518F22 #22888F
square
#60228F #8F2922 #518F22 #22888F
split-complementary
#60228F #888F22 #228F29
monochromatic
#1E0A2C #3F165E #60228F #812EC0 #9F55D7

Accessibility & contrast

On white

9.89
#60228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #60228F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60228F#FFFFFF#000000##FFFFFF
##60228F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#583D57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #60228f;
/* rgb */ color: rgb(96, 34, 143);
/* oklch */ color: oklch(40.4% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#9264b1',
    500: '#60228f',
    950: '#000000',
  },
}
SCSS
$custom: #60228f;
$custom-light: #9264b1;
$custom-dark: #000000;
JSON
{
  "hex": "#60228f",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 274.128,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.16967,
    "h": 305.9
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#60228F
secondary
#7FBA52
accent
#E54389
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #60228F

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

Preview Lab → · Contrast checker → · Palette generator →

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