#62156E#62156E

#62156E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.153 H 321.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#62156E
RGBrgb(98, 21, 110)
HSLhsl(292, 68%, 26%)
HSVhsv(292, 81%, 43%)
CMYKcmyk(10.9%, 80.9%, 0%, 56.9%)
CIE-LABlab(24.51, 45.59, -33.78)
CIE-LCHlch(24.51, 56.74, 323.47°)
OKLaboklab(36.94% 0.1202 -0.0946)
OKLCHoklch(36.94% 0.153 321.8)
XYZxyz(8.1193, 4.2593, 15.1433)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62156E #216E15
analogous
#35156E #62156E #6E154D
triadic
#62156E #6E6215 #156E62
tetradic
#62156E #6E3515 #216E15 #154D6E
square
#62156E #6E3515 #216E15 #154D6E
split-complementary
#62156E #4D6E15 #156E35
monochromatic
#17051A #340B3B #62156E #901FA1 #BE29D5

Accessibility & contrast

On white

11.34
#62156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#62156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62156E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62156E#FFFFFF#000000##FFFFFF
##62156E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#632741
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62156e;
/* rgb */ color: rgb(98, 21, 110);
/* oklch */ color: oklch(36.9% 0.153 321.8);
Tailwind
colors: {
  custom: {
    50: '#925d98',
    500: '#62156e',
    950: '#000000',
  },
}
SCSS
$custom: #62156e;
$custom-light: #925d98;
$custom-dark: #000000;
JSON
{
  "hex": "#62156e",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 291.91,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3694,
    "c": 0.15294,
    "h": 321.8
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#62156E
secondary
#49A43A
accent
#EB3D54
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62156E

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

Preview Lab → · Contrast checker → · Palette generator →

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