#62207F#62207F

#62207F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.156 H 313.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#62207F
RGBrgb(98, 32, 127)
HSLhsl(282, 60%, 31%)
HSVhsv(282, 75%, 50%)
CMYKcmyk(22.8%, 74.8%, 0%, 50.2%)
CIE-LABlab(27.19, 44.92, -40.30)
CIE-LCHlch(27.19, 60.35, 318.10°)
OKLaboklab(39.23% 0.1072 -0.1138)
OKLCHoklch(39.23% 0.156 313.3)
XYZxyz(9.3836, 5.1623, 20.5767)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62207F #3D7F20
analogous
#32207F #62207F #7F206C
triadic
#62207F #7F6220 #207F62
tetradic
#62207F #7F3220 #3D7F20 #206C7F
square
#62207F #7F3220 #3D7F20 #206C7F
split-complementary
#62207F #6C7F20 #207F32
monochromatic
#17071D #3C144E #62207F #882CB0 #A748D1

Accessibility & contrast

On white

10.33
#62207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62207F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62207F#FFFFFF#000000##FFFFFF
##62207F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#5F354D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62207f;
/* rgb */ color: rgb(98, 32, 127);
/* oklch */ color: oklch(39.2% 0.156 313.3);
Tailwind
colors: {
  custom: {
    50: '#9262a5',
    500: '#62207f',
    950: '#000000',
  },
}
SCSS
$custom: #62207f;
$custom-light: #9262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#62207f",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 281.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.15631,
    "h": 313.3
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#62207F
secondary
#69B249
accent
#E34575
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #62207F

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

Preview Lab → · Contrast checker → · Palette generator →

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