#62219F#62219F

#62219F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.188 H 302.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#62219F
RGBrgb(98, 33, 159)
HSLhsl(271, 66%, 38%)
HSVhsv(271, 79%, 62%)
CMYKcmyk(38.4%, 79.2%, 0%, 37.6%)
CIE-LABlab(29.88, 51.93, -55.73)
CIE-LCHlch(29.88, 76.18, 312.98°)
OKLaboklab(41.92% 0.0994 -0.1591)
OKLCHoklch(41.92% 0.188 302)
XYZxyz(11.8374, 6.1875, 33.3648)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62219F #5E9F21
analogous
#23219F #62219F #9F219D
triadic
#62219F #9F6221 #219F62
tetradic
#62219F #9F2321 #5E9F21 #219D9F
square
#62219F #9F2321 #5E9F21 #219D9F
split-complementary
#62219F #9D9F21 #219F23
monochromatic
#240C3A #43166C #62219F #812CD2 #9F5DDD

Accessibility & contrast

On white

9.39
#62219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62219F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62219F#FFFFFF#000000##FFFFFF
##62219F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62219f;
/* rgb */ color: rgb(98, 33, 159);
/* oklch */ color: oklch(41.9% 0.188 302.0);
Tailwind
colors: {
  custom: {
    50: '#9564bc',
    500: '#62219f',
    950: '#000000',
  },
}
SCSS
$custom: #62219f;
$custom-light: #9564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62219f",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 270.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.18762,
    "h": 302
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#62219F
secondary
#8CC25A
accent
#E93F91
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62219F

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

Preview Lab → · Contrast checker → · Palette generator →

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