#62219E#62219E

#62219E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.187 H 302.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#62219E
RGBrgb(98, 33, 158)
HSLhsl(271, 65%, 37%)
HSVhsv(271, 79%, 62%)
CMYKcmyk(38%, 79.1%, 0%, 38%)
CIE-LABlab(29.80, 51.69, -55.26)
CIE-LCHlch(29.80, 75.67, 313.09°)
OKLaboklab(41.83% 0.0997 -0.1577)
OKLCHoklch(41.83% 0.187 302.3)
XYZxyz(11.7509, 6.1530, 32.9097)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62219E #5D9E21
analogous
#24219E #62219E #9E219C
triadic
#62219E #9E6221 #219E62
tetradic
#62219E #9E2421 #5D9E21 #219C9E
square
#62219E #9E2421 #5D9E21 #219C9E
split-complementary
#62219E #9C9E21 #219E24
monochromatic
#230C39 #43166B #62219E #812CD1 #9F5CDD

Accessibility & contrast

On white

9.41
#62219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62219E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62219E#FFFFFF#000000##FFFFFF
##62219E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62219e;
/* rgb */ color: rgb(98, 33, 158);
/* oklch */ color: oklch(41.8% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#9564bc',
    500: '#62219e',
    950: '#000000',
  },
}
SCSS
$custom: #62219e;
$custom-light: #9564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62219e",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 271.2,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.1866,
    "h": 302.3
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#62219E
secondary
#8BC159
accent
#E83F91
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62219E

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

Preview Lab → · Contrast checker → · Palette generator →

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