#62207B#62207B

#62207B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.152 H 315.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#62207B
RGBrgb(98, 32, 123)
HSLhsl(284, 59%, 30%)
HSVhsv(284, 74%, 48%)
CMYKcmyk(20.3%, 74%, 0%, 51.8%)
CIE-LABlab(26.91, 44.04, -38.24)
CIE-LCHlch(26.91, 58.32, 319.03°)
OKLaboklab(38.93% 0.1077 -0.1077)
OKLCHoklch(38.93% 0.152 315)
XYZxyz(9.1281, 5.0601, 19.2309)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62207B #397B20
analogous
#34207B #62207B #7B2067
triadic
#62207B #7B6220 #207B62
tetradic
#62207B #7B3420 #397B20 #20677B
square
#62207B #7B3420 #397B20 #20677B
split-complementary
#62207B #677B20 #207B34
monochromatic
#15071A #3B134A #62207B #892DAC #A946CF

Accessibility & contrast

On white

10.44
#62207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#62207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62207B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62207B#FFFFFF#000000##FFFFFF
##62207B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#60334B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62207b;
/* rgb */ color: rgb(98, 32, 123);
/* oklch */ color: oklch(38.9% 0.152 315.0);
Tailwind
colors: {
  custom: {
    50: '#9262a2',
    500: '#62207b',
    950: '#000000',
  },
}
SCSS
$custom: #62207b;
$custom-light: #9262a2;
$custom-dark: #000000;
JSON
{
  "hex": "#62207b",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 283.516,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.15232,
    "h": 315
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#62207B
secondary
#65AE49
accent
#E24671
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #62207B

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

Preview Lab → · Contrast checker → · Palette generator →

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