#62165A#62165A

#62165A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.135 H 332.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#62165A
RGBrgb(98, 22, 90)
HSLhsl(306, 63%, 24%)
HSVhsv(306, 78%, 38%)
CMYKcmyk(0%, 77.6%, 8.2%, 61.6%)
CIE-LABlab(23.37, 41.57, -22.50)
CIE-LCHlch(23.37, 47.26, 331.57°)
OKLaboklab(35.72% 0.1197 -0.0618)
OKLCHoklch(35.72% 0.135 332.7)
XYZxyz(7.1694, 3.9093, 10.0478)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62165A #16621E
analogous
#441662 #62165A #621634
triadic
#62165A #5A6216 #165A62
tetradic
#62165A #624416 #16621E #163462
square
#62165A #624416 #16621E #163462
split-complementary
#62165A #346216 #166244
monochromatic
#190617 #300B2C #62165A #942188 #C62CB6

Accessibility & contrast

On white

11.79
#62165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#62165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62165A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62165A#FFFFFF#000000##FFFFFF
##62165A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315C
Deuteranopia (green-blind)
#2F3B58
Tritanopia (blue-blind)
#671E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62165a;
/* rgb */ color: rgb(98, 22, 90);
/* oklch */ color: oklch(35.7% 0.135 332.7);
Tailwind
colors: {
  custom: {
    50: '#925c89',
    500: '#62165a',
    950: '#000000',
  },
}
SCSS
$custom: #62165a;
$custom-light: #925c89;
$custom-dark: #000000;
JSON
{
  "hex": "#62165a",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 306.316,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.13472,
    "h": 332.7
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#62165A
secondary
#3B9945
accent
#E65341
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #62165A

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

Preview Lab → · Contrast checker → · Palette generator →

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