#62208F#62208F

#62208F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 307.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#62208F
RGBrgb(98, 32, 143)
HSLhsl(276, 63%, 34%)
HSVhsv(276, 78%, 56%)
CMYKcmyk(31.5%, 77.6%, 0%, 43.9%)
CIE-LABlab(28.41, 48.55, -48.31)
CIE-LCHlch(28.41, 68.49, 315.14°)
OKLaboklab(40.48% 0.1043 -0.1373)
OKLCHoklch(40.48% 0.172 307.2)
XYZxyz(10.5104, 5.6130, 26.5110)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62208F #4D8F20
analogous
#2B208F #62208F #8F2085
triadic
#62208F #8F6220 #208F62
tetradic
#62208F #8F2B20 #4D8F20 #20858F
square
#62208F #8F2B20 #4D8F20 #20858F
split-complementary
#62208F #858F20 #208F2B
monochromatic
#1D0A2B #40155D #62208F #842BC1 #A151D8

Accessibility & contrast

On white

9.89
#62208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62208F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62208F#FFFFFF#000000##FFFFFF
##62208F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5A3B56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62208f;
/* rgb */ color: rgb(98, 32, 143);
/* oklch */ color: oklch(40.5% 0.172 307.2);
Tailwind
colors: {
  custom: {
    50: '#9363b1',
    500: '#62208f',
    950: '#000000',
  },
}
SCSS
$custom: #62208f;
$custom-light: #9363b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62208f",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 275.676,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.17243,
    "h": 307.2
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#62208F
secondary
#7BBB4F
accent
#E64184
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62208F

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

Preview Lab → · Contrast checker → · Palette generator →

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