#62229A#62229A

#62229A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.181 H 303.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#62229A
RGBrgb(98, 34, 154)
HSLhsl(272, 64%, 37%)
HSVhsv(272, 78%, 60%)
CMYKcmyk(36.4%, 77.9%, 0%, 39.6%)
CIE-LABlab(29.60, 50.33, -53.15)
CIE-LCHlch(29.60, 73.19, 313.44°)
OKLaboklab(41.59% 0.0999 -0.1515)
OKLCHoklch(41.59% 0.181 303.4)
XYZxyz(11.4404, 6.0738, 31.1352)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62229A #5A9A22
analogous
#26229A #62229A #9A2296
triadic
#62229A #9A6222 #229A62
tetradic
#62229A #9A2622 #5A9A22 #22969A
square
#62229A #9A2622 #5A9A22 #22969A
split-complementary
#62229A #969A22 #229A26
monochromatic
#220C36 #421768 #62229A #822DCC #9F5BDB

Accessibility & contrast

On white

9.48
#62229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62229A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62229A#FFFFFF#000000##FFFFFF
##62229A1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#57415D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62229a;
/* rgb */ color: rgb(98, 34, 154);
/* oklch */ color: oklch(41.6% 0.181 303.4);
Tailwind
colors: {
  custom: {
    50: '#9465b9',
    500: '#62229a',
    950: '#000000',
  },
}
SCSS
$custom: #62229a;
$custom-light: #9465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62229a",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 272,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.18149,
    "h": 303.4
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#62229A
secondary
#88BF58
accent
#E7418E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62229A

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

Preview Lab → · Contrast checker → · Palette generator →

#62229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva