#62157A#62157A

#62157A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.164 H 316.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#62157A
RGBrgb(98, 21, 122)
HSLhsl(286, 71%, 28%)
HSVhsv(286, 83%, 48%)
CMYKcmyk(19.7%, 82.8%, 0%, 52.2%)
CIE-LABlab(25.38, 48.00, -40.07)
CIE-LCHlch(25.38, 62.52, 320.14°)
OKLaboklab(37.83% 0.1184 -0.113)
OKLCHoklch(37.83% 0.164 316.3)
XYZxyz(8.8175, 4.5385, 18.8201)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62157A #2D7A15
analogous
#30157A #62157A #7A155F
triadic
#62157A #7A6215 #157A62
tetradic
#62157A #7A3015 #2D7A15 #155F7A
square
#62157A #7A3015 #2D7A15 #155F7A
split-complementary
#62157A #5F7A15 #157A30
monochromatic
#15041A #380C46 #62157A #8C1EAE #B22EDB

Accessibility & contrast

On white

11.01
#62157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#62157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62157A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62157A#FFFFFF#000000##FFFFFF
##62157A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#602D48
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62157a;
/* rgb */ color: rgb(98, 21, 122);
/* oklch */ color: oklch(37.8% 0.164 316.3);
Tailwind
colors: {
  custom: {
    50: '#925da1',
    500: '#62157a',
    950: '#000000',
  },
}
SCSS
$custom: #62157a;
$custom-light: #925da1;
$custom-dark: #000000;
JSON
{
  "hex": "#62157a",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 285.743,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.16368,
    "h": 316.3
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#62157A
secondary
#57AF3B
accent
#ED3A65
background
#F9F5FA
surface
#F2E9F3
border
#CCC5CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62157A

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

Preview Lab → · Contrast checker → · Palette generator →

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