#62208A#62208A

#62208A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.167 H 309.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#62208A
RGBrgb(98, 32, 138)
HSLhsl(277, 62%, 33%)
HSVhsv(277, 77%, 54%)
CMYKcmyk(29%, 76.8%, 0%, 45.9%)
CIE-LABlab(28.02, 47.40, -45.85)
CIE-LCHlch(28.02, 65.94, 315.95°)
OKLaboklab(40.07% 0.1053 -0.1301)
OKLCHoklch(40.07% 0.167 309)
XYZxyz(10.1400, 5.4649, 24.5605)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62208A #488A20
analogous
#2D208A #62208A #8A207D
triadic
#62208A #8A6220 #208A62
tetradic
#62208A #8A2D20 #488A20 #207D8A
square
#62208A #8A2D20 #488A20 #207D8A
split-complementary
#62208A #7D8A20 #208A2D
monochromatic
#1B0927 #3F1458 #62208A #852CBC #A34ED6

Accessibility & contrast

On white

10.03
#62208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#62208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62208A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62208A#FFFFFF#000000##FFFFFF
##62208A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#5C3954
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62208a;
/* rgb */ color: rgb(98, 32, 138);
/* oklch */ color: oklch(40.1% 0.167 309.0);
Tailwind
colors: {
  custom: {
    50: '#9363ad',
    500: '#62208a',
    950: '#000000',
  },
}
SCSS
$custom: #62208a;
$custom-light: #9363ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62208a",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 277.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.16738,
    "h": 309
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#62208A
secondary
#76B94D
accent
#E54280
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62208A

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

Preview Lab → · Contrast checker → · Palette generator →

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