#62209D#62209D

#62209D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.187 H 302.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#62209D
RGBrgb(98, 32, 157)
HSLhsl(272, 66%, 37%)
HSVhsv(272, 80%, 62%)
CMYKcmyk(37.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(29.57, 51.85, -55.02)
CIE-LCHlch(29.57, 75.60, 313.30°)
OKLaboklab(41.65% 0.1008 -0.157)
OKLCHoklch(41.65% 0.187 302.7)
XYZxyz(11.6379, 6.0640, 32.4491)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62209D #5B9D20
analogous
#23209D #62209D #9D209A
triadic
#62209D #9D6220 #209D62
tetradic
#62209D #9D2320 #5B9D20 #209A9D
square
#62209D #9D2320 #5B9D20 #209A9D
split-complementary
#62209D #9A9D20 #209D23
monochromatic
#230B37 #42166A #62209D #822AD0 #9F5ADD

Accessibility & contrast

On white

9.49
#62209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62209D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62209D#FFFFFF#000000##FFFFFF
##62209D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#56415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62209d;
/* rgb */ color: rgb(98, 32, 157);
/* oklch */ color: oklch(41.6% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#9564bb',
    500: '#62209d',
    950: '#000000',
  },
}
SCSS
$custom: #62209d;
$custom-light: #9564bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62209d",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 271.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.18658,
    "h": 302.7
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#62209D
secondary
#89C157
accent
#E93F8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62209D

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

Preview Lab → · Contrast checker → · Palette generator →

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