#60229F#60229F

#60229F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.186 H 300.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#60229F
RGBrgb(96, 34, 159)
HSLhsl(270, 65%, 38%)
HSVhsv(270, 79%, 62%)
CMYKcmyk(39.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(29.75, 51.20, -55.96)
CIE-LCHlch(29.75, 75.85, 312.46°)
OKLaboklab(41.76% 0.0956 -0.1599)
OKLCHoklch(41.76% 0.186 300.9)
XYZxyz(11.6524, 6.1340, 33.3642)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60229F #619F22
analogous
#22229F #60229F #9E229F
triadic
#60229F #9F6022 #229F60
tetradic
#60229F #9F2222 #619F22 #229F9E
square
#60229F #9F2222 #619F22 #229F9E
split-complementary
#60229F #9F9E22 #229F22
monochromatic
#230C3A #42176D #60229F #7E2DD1 #9D5FDD

Accessibility & contrast

On white

9.43
#60229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#60229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60229F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60229F#FFFFFF#000000##FFFFFF
##60229F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#524360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #60229f;
/* rgb */ color: rgb(96, 34, 159);
/* oklch */ color: oklch(41.8% 0.186 300.9);
Tailwind
colors: {
  custom: {
    50: '#9365bc',
    500: '#60229f',
    950: '#000000',
  },
}
SCSS
$custom: #60229f;
$custom-light: #9365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#60229f",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 269.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.18627,
    "h": 300.9
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#60229F
secondary
#8FC15B
accent
#E84095
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #60229F

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

Preview Lab → · Contrast checker → · Palette generator →

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