#62115F#62115F

#62115F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.144 H 329.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#62115F
RGBrgb(98, 17, 95)
HSLhsl(302, 70%, 23%)
HSVhsv(302, 83%, 38%)
CMYKcmyk(0%, 82.7%, 3.1%, 61.6%)
CIE-LABlab(23.08, 44.11, -26.26)
CIE-LCHlch(23.08, 51.33, 329.23°)
OKLaboklab(35.61% 0.1247 -0.0726)
OKLCHoklch(35.61% 0.144 329.8)
XYZxyz(7.3030, 3.8244, 11.1778)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62115F #116214
analogous
#3C1162 #62115F #621137
triadic
#62115F #5F6211 #115F62
tetradic
#62115F #623C11 #116214 #113762
square
#62115F #623C11 #116214 #113762
split-complementary
#62115F #376211 #11623C
monochromatic
#1A0519 #2E082C #62115F #961A92 #CA23C4

Accessibility & contrast

On white

11.90
#62115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#62115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62115F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62115F#FFFFFF#000000##FFFFFF
##62115F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#2A3B5D
Tritanopia (blue-blind)
#661D38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62115f;
/* rgb */ color: rgb(98, 17, 95);
/* oklch */ color: oklch(35.6% 0.144 329.8);
Tailwind
colors: {
  custom: {
    50: '#925a8d',
    500: '#62115f',
    950: '#000000',
  },
}
SCSS
$custom: #62115f;
$custom-light: #925a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#62115f",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 302.222,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.1443,
    "h": 329.8
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#62115F
secondary
#349A38
accent
#ED413B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62115F

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

Preview Lab → · Contrast checker → · Palette generator →

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