#62147C#62147C

#62147C is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.166 H 315.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#62147C
RGBrgb(98, 20, 124)
HSLhsl(285, 72%, 28%)
HSVhsv(285, 84%, 49%)
CMYKcmyk(21%, 83.9%, 0%, 51.4%)
CIE-LABlab(25.42, 48.72, -41.27)
CIE-LCHlch(25.42, 63.85, 319.74°)
OKLaboklab(37.9% 0.1188 -0.1165)
OKLCHoklch(37.9% 0.166 315.5)
XYZxyz(8.9247, 4.5526, 19.4735)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62147C #2E7C14
analogous
#2E147C #62147C #7C1462
triadic
#62147C #7C6214 #147C62
tetradic
#62147C #7C2E14 #2E7C14 #14627C
square
#62147C #7C2E14 #2E7C14 #14627C
split-complementary
#62147C #627C14 #147C2E
monochromatic
#15041A #380B47 #62147C #8C1DB1 #B12DDD

Accessibility & contrast

On white

10.99
#62147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#62147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62147C
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62147C#FFFFFF#000000##FFFFFF
##62147C1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62147c;
/* rgb */ color: rgb(98, 20, 124);
/* oklch */ color: oklch(37.9% 0.166 315.5);
Tailwind
colors: {
  custom: {
    50: '#935da3',
    500: '#62147c',
    950: '#000000',
  },
}
SCSS
$custom: #62147c;
$custom-light: #935da3;
$custom-dark: #000000;
JSON
{
  "hex": "#62147c",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 285,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.16641,
    "h": 315.5
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#62147C
secondary
#58B23A
accent
#EF3966
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62147C

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

Preview Lab → · Contrast checker → · Palette generator →

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