#62219B#62219B

#62219B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.184 H 303.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#62219B
RGBrgb(98, 33, 155)
HSLhsl(272, 65%, 37%)
HSVhsv(272, 79%, 61%)
CMYKcmyk(36.8%, 78.7%, 0%, 39.2%)
CIE-LABlab(29.54, 50.97, -53.85)
CIE-LCHlch(29.54, 74.15, 313.43°)
OKLaboklab(41.57% 0.1005 -0.1536)
OKLCHoklch(41.57% 0.184 303.2)
XYZxyz(11.4959, 6.0509, 31.5663)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62219B #5A9B21
analogous
#25219B #62219B #9B2197
triadic
#62219B #9B6221 #219B62
tetradic
#62219B #9B2521 #5A9B21 #21979B
square
#62219B #9B2521 #5A9B21 #21979B
split-complementary
#62219B #979B21 #219B25
monochromatic
#220C36 #421669 #62219B #822CCD #9F5ADC

Accessibility & contrast

On white

9.50
#62219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62219B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62219B#FFFFFF#000000##FFFFFF
##62219B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#56415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62219b;
/* rgb */ color: rgb(98, 33, 155);
/* oklch */ color: oklch(41.6% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#9464b9',
    500: '#62219b',
    950: '#000000',
  },
}
SCSS
$custom: #62219b;
$custom-light: #9464b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62219b",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 271.967,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.18355,
    "h": 303.2
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#62219B
secondary
#88C058
accent
#E8408E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62219B

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

Preview Lab → · Contrast checker → · Palette generator →

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