#62207E#62207E

#62207E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.155 H 313.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#62207E
RGBrgb(98, 32, 126)
HSLhsl(282, 59%, 31%)
HSVhsv(282, 75%, 49%)
CMYKcmyk(22.2%, 74.6%, 0%, 50.6%)
CIE-LABlab(27.12, 44.69, -39.79)
CIE-LCHlch(27.12, 59.84, 318.32°)
OKLaboklab(39.15% 0.1073 -0.1123)
OKLCHoklch(39.15% 0.155 313.7)
XYZxyz(9.3188, 5.1364, 20.2351)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62207E #3C7E20
analogous
#33207E #62207E #7E206B
triadic
#62207E #7E6220 #207E62
tetradic
#62207E #7E3320 #3C7E20 #206B7E
square
#62207E #7E3320 #3C7E20 #206B7E
split-complementary
#62207E #6B7E20 #207E33
monochromatic
#16071C #3C144D #62207E #882CAF #A848D0

Accessibility & contrast

On white

10.36
#62207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#62207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62207E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62207E#FFFFFF#000000##FFFFFF
##62207E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#5F344D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62207e;
/* rgb */ color: rgb(98, 32, 126);
/* oklch */ color: oklch(39.2% 0.155 313.7);
Tailwind
colors: {
  custom: {
    50: '#9262a4',
    500: '#62207e',
    950: '#000000',
  },
}
SCSS
$custom: #62207e;
$custom-light: #9262a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62207e",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 282.128,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.15531,
    "h": 313.7
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#62207E
secondary
#68B149
accent
#E34574
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #62207E

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

Preview Lab → · Contrast checker → · Palette generator →

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