#62137E#62137E

#62137E is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.169 H 314.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#62137E
RGBrgb(98, 19, 126)
HSLhsl(284, 74%, 28%)
HSVhsv(284, 85%, 49%)
CMYKcmyk(22.2%, 84.9%, 0%, 50.6%)
CIE-LABlab(25.47, 49.44, -42.46)
CIE-LCHlch(25.47, 65.17, 319.35°)
OKLaboklab(37.99% 0.1191 -0.12)
OKLCHoklch(37.99% 0.169 314.8)
XYZxyz(9.0351, 4.5691, 20.1406)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62137E #2F7E13
analogous
#2C137E #62137E #7E1364
triadic
#62137E #7E6213 #137E62
tetradic
#62137E #7E2C13 #2F7E13 #13647E
square
#62137E #7E2C13 #2F7E13 #13647E
split-complementary
#62137E #647E13 #137E2C
monochromatic
#15041B #390B49 #62137E #8B1BB3 #B02CDF

Accessibility & contrast

On white

10.97
#62137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#62137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62137E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62137E#FFFFFF#000000##FFFFFF
##62137E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#0A3E7C
Tritanopia (blue-blind)
#5F2E4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62137e;
/* rgb */ color: rgb(98, 19, 126);
/* oklch */ color: oklch(38.0% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#935da4',
    500: '#62137e',
    950: '#000000',
  },
}
SCSS
$custom: #62137e;
$custom-light: #935da4;
$custom-dark: #000000;
JSON
{
  "hex": "#62137e",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 284.299,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.16909,
    "h": 314.8
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#62137E
secondary
#59B439
accent
#F03768
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62137E

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

Preview Lab → · Contrast checker → · Palette generator →

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