#62147F#62147F

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

Color values

HEX#62147F
RGBrgb(98, 20, 127)
HSLhsl(284, 73%, 29%)
HSVhsv(284, 84%, 50%)
CMYKcmyk(22.8%, 84.3%, 0%, 50.2%)
CIE-LABlab(25.65, 49.35, -42.79)
CIE-LCHlch(25.65, 65.32, 319.07°)
OKLaboklab(38.14% 0.1181 -0.121)
OKLCHoklch(38.14% 0.169 314.3)
XYZxyz(9.1173, 4.6296, 20.4879)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62147F #317F14
analogous
#2D147F #62147F #7F1467
triadic
#62147F #7F6214 #147F62
tetradic
#62147F #7F2D14 #317F14 #14677F
square
#62147F #7F2D14 #317F14 #14677F
split-complementary
#62147F #677F14 #147F2D
monochromatic
#14041A #390C4A #62147F #8B1CB4 #AF2FDE

Accessibility & contrast

On white

10.90
#62147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#62147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62147F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62147F#FFFFFF#000000##FFFFFF
##62147F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#083F7D
Tritanopia (blue-blind)
#5F2F4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62147f;
/* rgb */ color: rgb(98, 20, 127);
/* oklch */ color: oklch(38.1% 0.169 314.3);
Tailwind
colors: {
  custom: {
    50: '#935da5',
    500: '#62147f',
    950: '#000000',
  },
}
SCSS
$custom: #62147f;
$custom-light: #935da5;
$custom-dark: #000000;
JSON
{
  "hex": "#62147f",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 283.738,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.16912,
    "h": 314.3
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#62147F
secondary
#5CB43B
accent
#EF386A
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62147F

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

Preview Lab → · Contrast checker → · Palette generator →

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