#62186D#62186D

#62186D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.149 H 322.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#62186D
RGBrgb(98, 24, 109)
HSLhsl(292, 64%, 26%)
HSVhsv(292, 78%, 43%)
CMYKcmyk(10.1%, 78%, 0%, 57.3%)
CIE-LABlab(24.81, 44.34, -32.65)
CIE-LCHlch(24.81, 55.06, 323.63°)
OKLaboklab(37.13% 0.1174 -0.0913)
OKLCHoklch(37.13% 0.149 322.1)
XYZxyz(8.1237, 4.3545, 14.8776)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62186D #236D18
analogous
#37186D #62186D #6D184D
triadic
#62186D #6D6218 #186D62
tetradic
#62186D #6D3718 #236D18 #184D6D
square
#62186D #6D3718 #236D18 #184D6D
split-complementary
#62186D #4D6D18 #186D37
monochromatic
#170619 #350D3B #62186D #8F239F #BC2ED1

Accessibility & contrast

On white

11.23
#62186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62186D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62186D#FFFFFF#000000##FFFFFF
##62186D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#243E6B
Tritanopia (blue-blind)
#632841
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62186d;
/* rgb */ color: rgb(98, 24, 109);
/* oklch */ color: oklch(37.1% 0.149 322.1);
Tailwind
colors: {
  custom: {
    50: '#925e97',
    500: '#62186d',
    950: '#000000',
  },
}
SCSS
$custom: #62186d;
$custom-light: #925e97;
$custom-dark: #000000;
JSON
{
  "hex": "#62186d",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 292.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.14875,
    "h": 322.1
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#62186D
secondary
#4BA33E
accent
#E74156
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62186D

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

Preview Lab → · Contrast checker → · Palette generator →

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