#62137B#62137B

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

Color values

HEX#62137B
RGBrgb(98, 19, 123)
HSLhsl(286, 73%, 28%)
HSVhsv(286, 85%, 48%)
CMYKcmyk(20.3%, 84.6%, 0%, 51.8%)
CIE-LABlab(25.24, 48.83, -40.93)
CIE-LCHlch(25.24, 63.71, 320.03°)
OKLaboklab(37.75% 0.1198 -0.1155)
OKLCHoklch(37.75% 0.166 316)
XYZxyz(8.8445, 4.4928, 19.1364)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62137B #2C7B13
analogous
#2E137B #62137B #7B1360
triadic
#62137B #7B6213 #137B62
tetradic
#62137B #7B2E13 #2C7B13 #13607B
square
#62137B #7B2E13 #2C7B13 #13607B
split-complementary
#62137B #607B13 #137B2E
monochromatic
#15041B #380B46 #62137B #8C1BB0 #B32ADE

Accessibility & contrast

On white

11.06
#62137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62137B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62137B#FFFFFF#000000##FFFFFF
##62137B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#602D48
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62137b;
/* rgb */ color: rgb(98, 19, 123);
/* oklch */ color: oklch(37.8% 0.166 316.0);
Tailwind
colors: {
  custom: {
    50: '#935da2',
    500: '#62137b',
    950: '#000000',
  },
}
SCSS
$custom: #62137b;
$custom-light: #935da2;
$custom-dark: #000000;
JSON
{
  "hex": "#62137b",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 285.577,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.16641,
    "h": 316
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#62137B
secondary
#56B139
accent
#F03864
background
#F9F5FA
surface
#F2E9F3
border
#CCC5CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62137B

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

Preview Lab → · Contrast checker → · Palette generator →

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