#62147D#62147D

#62147D is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.167 H 315.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#62147D
RGBrgb(98, 20, 125)
HSLhsl(285, 72%, 28%)
HSVhsv(285, 84%, 49%)
CMYKcmyk(21.6%, 84%, 0%, 51%)
CIE-LABlab(25.50, 48.93, -41.78)
CIE-LCHlch(25.50, 64.34, 319.51°)
OKLaboklab(37.98% 0.1186 -0.118)
OKLCHoklch(37.98% 0.167 315.1)
XYZxyz(8.9882, 4.5780, 19.8082)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62147D #2F7D14
analogous
#2D147D #62147D #7D1463
triadic
#62147D #7D6214 #147D62
tetradic
#62147D #7D2D14 #2F7D14 #14637D
square
#62147D #7D2D14 #2F7D14 #14637D
split-complementary
#62147D #637D14 #147D2D
monochromatic
#15041A #390C48 #62147D #8B1CB2 #B02EDE

Accessibility & contrast

On white

10.96
#62147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#62147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62147D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62147D#FFFFFF#000000##FFFFFF
##62147D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#0D3E7B
Tritanopia (blue-blind)
#602E4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62147d;
/* rgb */ color: rgb(98, 20, 125);
/* oklch */ color: oklch(38.0% 0.167 315.1);
Tailwind
colors: {
  custom: {
    50: '#935da3',
    500: '#62147d',
    950: '#000000',
  },
}
SCSS
$custom: #62147d;
$custom-light: #935da3;
$custom-dark: #000000;
JSON
{
  "hex": "#62147d",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 284.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.16731,
    "h": 315.1
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#62147D
secondary
#59B23A
accent
#EF3968
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62147D

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

Preview Lab → · Contrast checker → · Palette generator →

#62147D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva