#62219D#62219D

#62219D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.186 H 302.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#62219D
RGBrgb(98, 33, 157)
HSLhsl(271, 65%, 37%)
HSVhsv(271, 79%, 62%)
CMYKcmyk(37.6%, 79%, 0%, 38.4%)
CIE-LABlab(29.71, 51.45, -54.79)
CIE-LCHlch(29.71, 75.16, 313.20°)
OKLaboklab(41.74% 0.1 -0.1564)
OKLCHoklch(41.74% 0.186 302.6)
XYZxyz(11.6652, 6.1187, 32.4582)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62219D #5C9D21
analogous
#24219D #62219D #9D219A
triadic
#62219D #9D6221 #219D62
tetradic
#62219D #9D2421 #5C9D21 #219A9D
square
#62219D #9D2421 #5C9D21 #219A9D
split-complementary
#62219D #9A9D21 #219D24
monochromatic
#230C38 #42166A #62219D #822CD0 #9F5CDD

Accessibility & contrast

On white

9.44
#62219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#62219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62219D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62219D#FFFFFF#000000##FFFFFF
##62219D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#55425F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62219d;
/* rgb */ color: rgb(98, 33, 157);
/* oklch */ color: oklch(41.7% 0.186 302.6);
Tailwind
colors: {
  custom: {
    50: '#9564bb',
    500: '#62219d',
    950: '#000000',
  },
}
SCSS
$custom: #62219d;
$custom-light: #9564bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62219d",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 271.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.18558,
    "h": 302.6
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#62219D
secondary
#8AC159
accent
#E84090
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62219D

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

Preview Lab → · Contrast checker → · Palette generator →

#62219D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva