#62115A#62115A

#62115A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.140 H 332.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#62115A
RGBrgb(98, 17, 90)
HSLhsl(306, 70%, 23%)
HSVhsv(306, 83%, 38%)
CMYKcmyk(0%, 82.7%, 8.2%, 61.6%)
CIE-LABlab(22.78, 43.25, -23.43)
CIE-LCHlch(22.78, 49.19, 331.56°)
OKLaboklab(35.3% 0.1246 -0.0644)
OKLCHoklch(35.3% 0.14 332.7)
XYZxyz(7.0830, 3.7364, 10.0190)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62115A #116219
analogous
#421162 #62115A #621131
triadic
#62115A #5A6211 #115A62
tetradic
#62115A #624211 #116219 #113162
square
#62115A #624211 #116219 #113162
split-complementary
#62115A #316211 #116242
monochromatic
#1A0518 #2E082A #62115A #961A8A #CA23BA

Accessibility & contrast

On white

12.02
#62115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#62115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62115A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62115A#FFFFFF#000000##FFFFFF
##62115A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5C
Deuteranopia (green-blind)
#2D3A58
Tritanopia (blue-blind)
#671B35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #62115a;
/* rgb */ color: rgb(98, 17, 90);
/* oklch */ color: oklch(35.3% 0.140 332.7);
Tailwind
colors: {
  custom: {
    50: '#925a89',
    500: '#62115a',
    950: '#000000',
  },
}
SCSS
$custom: #62115a;
$custom-light: #925a89;
$custom-dark: #000000;
JSON
{
  "hex": "#62115a",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 305.926,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.1403,
    "h": 332.7
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#62115A
secondary
#349A3E
accent
#ED4C3B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #62115A

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

Preview Lab → · Contrast checker → · Palette generator →

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