#62208C#62208C

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

Color values

HEX#62208C
RGBrgb(98, 32, 140)
HSLhsl(277, 63%, 34%)
HSVhsv(277, 77%, 55%)
CMYKcmyk(30%, 77.1%, 0%, 45.1%)
CIE-LABlab(28.18, 47.86, -46.84)
CIE-LCHlch(28.18, 66.96, 315.62°)
OKLaboklab(40.23% 0.1049 -0.133)
OKLCHoklch(40.23% 0.169 308.3)
XYZxyz(10.2862, 5.5233, 25.3301)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62208C #4A8C20
analogous
#2C208C #62208C #8C2080
triadic
#62208C #8C6220 #208C62
tetradic
#62208C #8C2C20 #4A8C20 #20808C
square
#62208C #8C2C20 #4A8C20 #20808C
split-complementary
#62208C #808C20 #208C2C
monochromatic
#1C0928 #3F155A #62208C #852BBE #A250D7

Accessibility & contrast

On white

9.98
#62208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62208C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62208C#FFFFFF#000000##FFFFFF
##62208C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5B3A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62208c;
/* rgb */ color: rgb(98, 32, 140);
/* oklch */ color: oklch(40.2% 0.169 308.3);
Tailwind
colors: {
  custom: {
    50: '#9363ae',
    500: '#62208c',
    950: '#000000',
  },
}
SCSS
$custom: #62208c;
$custom-light: #9363ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62208c",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 276.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.1694,
    "h": 308.3
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#62208C
secondary
#78BA4E
accent
#E64282
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #62208C

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

Preview Lab → · Contrast checker → · Palette generator →

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