#62186A#62186A

#62186A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.146 H 323.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#62186A
RGBrgb(98, 24, 106)
HSLhsl(294, 63%, 25%)
HSVhsv(294, 77%, 42%)
CMYKcmyk(7.5%, 77.4%, 0%, 58.4%)
CIE-LABlab(24.61, 43.75, -31.03)
CIE-LCHlch(24.61, 53.64, 324.66°)
OKLaboklab(36.93% 0.1176 -0.0865)
OKLCHoklch(36.93% 0.146 323.7)
XYZxyz(7.9649, 4.2910, 14.0416)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62186A #206A18
analogous
#39186A #62186A #6A1849
triadic
#62186A #6A6218 #186A62
tetradic
#62186A #6A3918 #206A18 #18496A
square
#62186A #6A3918 #206A18 #18496A
split-complementary
#62186A #496A18 #186A39
monochromatic
#170619 #340D38 #62186A #90239C #BE2FCE

Accessibility & contrast

On white

11.30
#62186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#62186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62186A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62186A#FFFFFF#000000##FFFFFF
##62186A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#273D68
Tritanopia (blue-blind)
#642740
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62186a;
/* rgb */ color: rgb(98, 24, 106);
/* oklch */ color: oklch(36.9% 0.146 323.7);
Tailwind
colors: {
  custom: {
    50: '#925e95',
    500: '#62186a',
    950: '#000000',
  },
}
SCSS
$custom: #62186a;
$custom-light: #925e95;
$custom-dark: #000000;
JSON
{
  "hex": "#62186a",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 294.146,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.14605,
    "h": 323.7
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#62186A
secondary
#47A03E
accent
#E64252
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62186A

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

Preview Lab → · Contrast checker → · Palette generator →

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