#62156A#62156A

#62156A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.149 H 323.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#62156A
RGBrgb(98, 21, 106)
HSLhsl(294, 67%, 25%)
HSVhsv(294, 80%, 42%)
CMYKcmyk(7.5%, 80.2%, 0%, 58.4%)
CIE-LABlab(24.24, 44.82, -31.62)
CIE-LCHlch(24.24, 54.85, 324.80°)
OKLaboklab(36.66% 0.1206 -0.0883)
OKLCHoklch(36.66% 0.149 323.8)
XYZxyz(7.9065, 4.1741, 14.0221)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62156A #1D6A15
analogous
#38156A #62156A #6A1548
triadic
#62156A #6A6215 #156A62
tetradic
#62156A #6A3815 #1D6A15 #15486A
square
#62156A #6A3815 #1D6A15 #15486A
split-complementary
#62156A #486A15 #156A38
monochromatic
#18051A #330B37 #62156A #911F9D #C029D0

Accessibility & contrast

On white

11.45
#62156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#62156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62156A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62156A#FFFFFF#000000##FFFFFF
##62156A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#253D68
Tritanopia (blue-blind)
#64253F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62156a;
/* rgb */ color: rgb(98, 21, 106);
/* oklch */ color: oklch(36.7% 0.149 323.8);
Tailwind
colors: {
  custom: {
    50: '#925c95',
    500: '#62156a',
    950: '#000000',
  },
}
SCSS
$custom: #62156a;
$custom-light: #925c95;
$custom-dark: #000000;
JSON
{
  "hex": "#62156a",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 294.353,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.14942,
    "h": 323.8
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#62156A
secondary
#44A13A
accent
#EA3E4E
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62156A

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

Preview Lab → · Contrast checker → · Palette generator →

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