#62156F#62156F

#62156F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.154 H 321.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#62156F
RGBrgb(98, 21, 111)
HSLhsl(291, 68%, 26%)
HSVhsv(291, 81%, 44%)
CMYKcmyk(11.7%, 81.1%, 0%, 56.5%)
CIE-LABlab(24.58, 45.79, -34.31)
CIE-LCHlch(24.58, 57.21, 323.15°)
OKLaboklab(37.01% 0.1201 -0.0961)
OKLCHoklch(37.01% 0.154 321.3)
XYZxyz(8.1741, 4.2812, 15.4316)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62156F #226F15
analogous
#35156F #62156F #6F154F
triadic
#62156F #6F6215 #156F62
tetradic
#62156F #6F3515 #226F15 #154F6F
square
#62156F #6F3515 #226F15 #154F6F
split-complementary
#62156F #4F6F15 #156F35
monochromatic
#17051A #350B3C #62156F #8F1FA2 #BD28D6

Accessibility & contrast

On white

11.31
#62156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#62156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62156F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62156F#FFFFFF#000000##FFFFFF
##62156F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#632842
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62156f;
/* rgb */ color: rgb(98, 21, 111);
/* oklch */ color: oklch(37.0% 0.154 321.3);
Tailwind
colors: {
  custom: {
    50: '#925d99',
    500: '#62156f',
    950: '#000000',
  },
}
SCSS
$custom: #62156f;
$custom-light: #925d99;
$custom-dark: #000000;
JSON
{
  "hex": "#62156f",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 291.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.15381,
    "h": 321.3
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#62156F
secondary
#4AA53A
accent
#EB3D56
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62156F

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

Preview Lab → · Contrast checker → · Palette generator →

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