#62208E#62208E

#62208E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 307.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#62208E
RGBrgb(98, 32, 142)
HSLhsl(276, 63%, 34%)
HSVhsv(276, 77%, 56%)
CMYKcmyk(31%, 77.5%, 0%, 44.3%)
CIE-LABlab(28.33, 48.32, -47.82)
CIE-LCHlch(28.33, 67.98, 315.30°)
OKLaboklab(40.39% 0.1045 -0.1359)
OKLCHoklch(40.39% 0.171 307.6)
XYZxyz(10.4350, 5.5828, 26.1138)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62208E #4C8E20
analogous
#2B208E #62208E #8E2083
triadic
#62208E #8E6220 #208E62
tetradic
#62208E #8E2B20 #4C8E20 #20838E
square
#62208E #8E2B20 #4C8E20 #20838E
split-complementary
#62208E #838E20 #208E2B
monochromatic
#1D092A #40155C #62208E #842BC0 #A251D8

Accessibility & contrast

On white

9.92
#62208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#62208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62208E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62208E#FFFFFF#000000##FFFFFF
##62208E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5B3B56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62208e;
/* rgb */ color: rgb(98, 32, 142);
/* oklch */ color: oklch(40.4% 0.171 307.6);
Tailwind
colors: {
  custom: {
    50: '#9363b0',
    500: '#62208e',
    950: '#000000',
  },
}
SCSS
$custom: #62208e;
$custom-light: #9363b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62208e",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 276,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.17142,
    "h": 307.6
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#62208E
secondary
#7ABB4F
accent
#E64283
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #62208E

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

Preview Lab → · Contrast checker → · Palette generator →

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