#62156C#62156C

#62156C is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.151 H 322.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#62156C
RGBrgb(98, 21, 108)
HSLhsl(293, 67%, 25%)
HSVhsv(293, 81%, 42%)
CMYKcmyk(9.3%, 80.6%, 0%, 57.6%)
CIE-LABlab(24.37, 45.20, -32.70)
CIE-LCHlch(24.37, 55.79, 324.12°)
OKLaboklab(36.8% 0.1204 -0.0914)
OKLCHoklch(36.8% 0.151 322.8)
XYZxyz(8.0117, 4.2162, 14.5763)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62156C #1F6C15
analogous
#36156C #62156C #6C154B
triadic
#62156C #6C6215 #156C62
tetradic
#62156C #6C3615 #1F6C15 #154B6C
square
#62156C #6C3615 #1F6C15 #154B6C
split-complementary
#62156C #4B6C15 #156C36
monochromatic
#17051A #340B39 #62156C #901F9F #BF29D2

Accessibility & contrast

On white

11.39
#62156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#62156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62156C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62156C#FFFFFF#000000##FFFFFF
##62156C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#233D6A
Tritanopia (blue-blind)
#632640
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62156c;
/* rgb */ color: rgb(98, 21, 108);
/* oklch */ color: oklch(36.8% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#925d96',
    500: '#62156c',
    950: '#000000',
  },
}
SCSS
$custom: #62156c;
$custom-light: #925d96;
$custom-dark: #000000;
JSON
{
  "hex": "#62156c",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 293.103,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.15117,
    "h": 322.8
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#62156C
secondary
#46A33A
accent
#EA3D51
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62156C

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

Preview Lab → · Contrast checker → · Palette generator →

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