#62186C#62186C

#62186C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.148 H 322.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#62186C
RGBrgb(98, 24, 108)
HSLhsl(293, 64%, 26%)
HSVhsv(293, 78%, 42%)
CMYKcmyk(9.3%, 77.8%, 0%, 57.6%)
CIE-LABlab(24.74, 44.14, -32.11)
CIE-LCHlch(24.74, 54.59, 323.97°)
OKLaboklab(37.06% 0.1175 -0.0897)
OKLCHoklch(37.06% 0.148 322.6)
XYZxyz(8.0701, 4.3331, 14.5958)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62186C #226C18
analogous
#38186C #62186C #6C184C
triadic
#62186C #6C6218 #186C62
tetradic
#62186C #6C3818 #226C18 #184C6C
square
#62186C #6C3818 #226C18 #184C6C
split-complementary
#62186C #4C6C18 #186C38
monochromatic
#170619 #350D3A #62186C #8F239E #BD2ED0

Accessibility & contrast

On white

11.25
#62186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#62186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62186C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62186C#FFFFFF#000000##FFFFFF
##62186C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#253E6A
Tritanopia (blue-blind)
#632841
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62186c;
/* rgb */ color: rgb(98, 24, 108);
/* oklch */ color: oklch(37.1% 0.148 322.6);
Tailwind
colors: {
  custom: {
    50: '#925e96',
    500: '#62186c',
    950: '#000000',
  },
}
SCSS
$custom: #62186c;
$custom-light: #925e96;
$custom-dark: #000000;
JSON
{
  "hex": "#62186c",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 292.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.14785,
    "h": 322.6
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#62186C
secondary
#4AA23E
accent
#E74155
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62186C

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

Preview Lab → · Contrast checker → · Palette generator →

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