#62137C#62137C

#62137C is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.167 H 315.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#62137C
RGBrgb(98, 19, 124)
HSLhsl(285, 73%, 28%)
HSVhsv(285, 85%, 49%)
CMYKcmyk(21%, 84.7%, 0%, 51.4%)
CIE-LABlab(25.31, 49.03, -41.44)
CIE-LCHlch(25.31, 64.20, 319.80°)
OKLaboklab(37.83% 0.1196 -0.117)
OKLCHoklch(37.83% 0.167 315.6)
XYZxyz(8.9074, 4.5180, 19.4677)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62137C #2D7C13
analogous
#2D137C #62137C #7C1361
triadic
#62137C #7C6213 #137C62
tetradic
#62137C #7C2D13 #2D7C13 #13617C
square
#62137C #7C2D13 #2D7C13 #13617C
split-complementary
#62137C #617C13 #137C2D
monochromatic
#15041B #380B47 #62137C #8C1BB1 #B22BDF

Accessibility & contrast

On white

11.03
#62137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#62137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62137C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62137C#FFFFFF#000000##FFFFFF
##62137C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#602D49
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62137c;
/* rgb */ color: rgb(98, 19, 124);
/* oklch */ color: oklch(37.8% 0.167 315.6);
Tailwind
colors: {
  custom: {
    50: '#935da3',
    500: '#62137c',
    950: '#000000',
  },
}
SCSS
$custom: #62137c;
$custom-light: #935da3;
$custom-dark: #000000;
JSON
{
  "hex": "#62137c",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 285.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.1673,
    "h": 315.6
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#62137C
secondary
#57B239
accent
#F03865
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62137C

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

Preview Lab → · Contrast checker → · Palette generator →

#62137C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva