#62187A#62187A

#62187A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.161 H 316.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#62187A
RGBrgb(98, 24, 122)
HSLhsl(285, 67%, 29%)
HSVhsv(285, 80%, 48%)
CMYKcmyk(19.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(25.73, 46.98, -39.50)
CIE-LCHlch(25.73, 61.38, 319.94°)
OKLaboklab(38.07% 0.1158 -0.1114)
OKLCHoklch(38.07% 0.161 316.1)
XYZxyz(8.8759, 4.6554, 18.8396)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62187A #307A18
analogous
#31187A #62187A #7A1861
triadic
#62187A #7A6218 #187A62
tetradic
#62187A #7A3118 #307A18 #18617A
square
#62187A #7A3118 #307A18 #18617A
split-complementary
#62187A #617A18 #187A31
monochromatic
#15051A #390E47 #62187A #8B22AD #B035D7

Accessibility & contrast

On white

10.88
#62187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#62187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62187A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62187A#FFFFFF#000000##FFFFFF
##62187A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#602E49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62187a;
/* rgb */ color: rgb(98, 24, 122);
/* oklch */ color: oklch(38.1% 0.161 316.1);
Tailwind
colors: {
  custom: {
    50: '#925ea1',
    500: '#62187a',
    950: '#000000',
  },
}
SCSS
$custom: #62187a;
$custom-light: #925ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#62187a",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 285.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38074,
    "c": 0.16066,
    "h": 316.1
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#62187A
secondary
#5AAF3F
accent
#EA3E68
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62187A

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

Preview Lab → · Contrast checker → · Palette generator →

#62187A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva