#62137F#62137F

#62137F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.170 H 314.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#62137F
RGBrgb(98, 19, 127)
HSLhsl(284, 74%, 29%)
HSVhsv(284, 85%, 50%)
CMYKcmyk(22.8%, 85%, 0%, 50.2%)
CIE-LABlab(25.55, 49.65, -42.96)
CIE-LCHlch(25.55, 65.66, 319.13°)
OKLaboklab(38.07% 0.1189 -0.1215)
OKLCHoklch(38.07% 0.17 314.4)
XYZxyz(9.1000, 4.5950, 20.4821)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62137F #307F13
analogous
#2C137F #62137F #7F1366
triadic
#62137F #7F6213 #137F62
tetradic
#62137F #7F2C13 #307F13 #13667F
square
#62137F #7F2C13 #307F13 #13667F
split-complementary
#62137F #667F13 #137F2C
monochromatic
#15041B #390B4A #62137F #8B1BB4 #B02DE0

Accessibility & contrast

On white

10.94
#62137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#62137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62137F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62137F#FFFFFF#000000##FFFFFF
##62137F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#073E7D
Tritanopia (blue-blind)
#5F2E4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62137f;
/* rgb */ color: rgb(98, 19, 127);
/* oklch */ color: oklch(38.1% 0.170 314.4);
Tailwind
colors: {
  custom: {
    50: '#935da5',
    500: '#62137f',
    950: '#000000',
  },
}
SCSS
$custom: #62137f;
$custom-light: #935da5;
$custom-dark: #000000;
JSON
{
  "hex": "#62137f",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 283.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.16999,
    "h": 314.4
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#62137F
secondary
#5AB439
accent
#F13769
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #62137F

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

Preview Lab → · Contrast checker → · Palette generator →

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