#62208B#62208B

#62208B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.168 H 308.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#62208B
RGBrgb(98, 32, 139)
HSLhsl(277, 63%, 34%)
HSVhsv(277, 77%, 55%)
CMYKcmyk(29.5%, 77%, 0%, 45.5%)
CIE-LABlab(28.10, 47.63, -46.34)
CIE-LCHlch(28.10, 66.45, 315.78°)
OKLaboklab(40.15% 0.1051 -0.1315)
OKLCHoklch(40.15% 0.168 308.6)
XYZxyz(10.2128, 5.4940, 24.9435)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62208B #498B20
analogous
#2C208B #62208B #8B207E
triadic
#62208B #8B6220 #208B62
tetradic
#62208B #8B2C20 #498B20 #207E8B
square
#62208B #8B2C20 #498B20 #207E8B
split-complementary
#62208B #7E8B20 #208B2C
monochromatic
#1C0928 #3F1559 #62208B #852BBD #A34FD6

Accessibility & contrast

On white

10.01
#62208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#62208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62208B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62208B#FFFFFF#000000##FFFFFF
##62208B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#5C3A54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62208b;
/* rgb */ color: rgb(98, 32, 139);
/* oklch */ color: oklch(40.2% 0.168 308.6);
Tailwind
colors: {
  custom: {
    50: '#9363ae',
    500: '#62208b',
    950: '#000000',
  },
}
SCSS
$custom: #62208b;
$custom-light: #9363ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62208b",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 277.009,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.16838,
    "h": 308.6
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#62208B
secondary
#77BA4D
accent
#E64281
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #62208B

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

Preview Lab → · Contrast checker → · Palette generator →

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