#62156B#62156B

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

Color values

HEX#62156B
RGBrgb(98, 21, 107)
HSLhsl(294, 67%, 25%)
HSVhsv(294, 80%, 42%)
CMYKcmyk(8.4%, 80.4%, 0%, 58%)
CIE-LABlab(24.31, 45.01, -32.16)
CIE-LCHlch(24.31, 55.32, 324.45°)
OKLaboklab(36.73% 0.1205 -0.0898)
OKLCHoklch(36.73% 0.15 323.3)
XYZxyz(7.9588, 4.1950, 14.2976)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62156B #1E6B15
analogous
#37156B #62156B #6B1549
triadic
#62156B #6B6215 #156B62
tetradic
#62156B #6B3715 #1E6B15 #15496B
square
#62156B #6B3715 #1E6B15 #15496B
split-complementary
#62156B #496B15 #156B37
monochromatic
#17051A #330B38 #62156B #911F9E #C029D1

Accessibility & contrast

On white

11.42
#62156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62156B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62156B#FFFFFF#000000##FFFFFF
##62156B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#243D69
Tritanopia (blue-blind)
#64263F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62156b;
/* rgb */ color: rgb(98, 21, 107);
/* oklch */ color: oklch(36.7% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#925c96',
    500: '#62156b',
    950: '#000000',
  },
}
SCSS
$custom: #62156b;
$custom-light: #925c96;
$custom-dark: #000000;
JSON
{
  "hex": "#62156b",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 293.721,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36729,
    "c": 0.15029,
    "h": 323.3
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#62156B
secondary
#45A23A
accent
#EA3E50
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62156B

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

Preview Lab → · Contrast checker → · Palette generator →

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