#62209F#62209F

#62209F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 302.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#62209F
RGBrgb(98, 32, 159)
HSLhsl(271, 66%, 37%)
HSVhsv(271, 80%, 62%)
CMYKcmyk(38.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(29.75, 52.32, -55.95)
CIE-LCHlch(29.75, 76.61, 313.08°)
OKLaboklab(41.82% 0.1002 -0.1598)
OKLCHoklch(41.82% 0.189 302.1)
XYZxyz(11.8100, 6.1329, 33.3557)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62209F #5D9F20
analogous
#22209F #62209F #9F209D
triadic
#62209F #9F6220 #209F62
tetradic
#62209F #9F2220 #5D9F20 #209D9F
square
#62209F #9F2220 #5D9F20 #209D9F
split-complementary
#62209F #9D9F20 #209F22
monochromatic
#230B39 #43166C #62209F #812AD2 #9F5BDE

Accessibility & contrast

On white

9.43
#62209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62209F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62209F#FFFFFF#000000##FFFFFF
##62209F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62209f;
/* rgb */ color: rgb(98, 32, 159);
/* oklch */ color: oklch(41.8% 0.189 302.1);
Tailwind
colors: {
  custom: {
    50: '#9564bc',
    500: '#62209f',
    950: '#000000',
  },
}
SCSS
$custom: #62209f;
$custom-light: #9564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62209f",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 271.181,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.1886,
    "h": 302.1
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#62209F
secondary
#8BC259
accent
#E93E91
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62209F

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

Preview Lab → · Contrast checker → · Palette generator →

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