#62147B#62147B

#62147B 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.02:1 contrast (WCAG AA passes).

Color values

HEX#62147B
RGBrgb(98, 20, 123)
HSLhsl(285, 72%, 28%)
HSVhsv(285, 84%, 48%)
CMYKcmyk(20.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(25.34, 48.52, -40.76)
CIE-LCHlch(25.34, 63.37, 319.97°)
OKLaboklab(37.83% 0.119 -0.115)
OKLCHoklch(37.83% 0.166 316)
XYZxyz(8.8617, 4.5274, 19.1421)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62147B #2D7B14
analogous
#2E147B #62147B #7B1460
triadic
#62147B #7B6214 #147B62
tetradic
#62147B #7B2E14 #2D7B14 #14607B
square
#62147B #7B2E14 #2D7B14 #14607B
split-complementary
#62147B #607B14 #147B2E
monochromatic
#15041A #380B46 #62147B #8C1DB0 #B22DDD

Accessibility & contrast

On white

11.02
#62147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62147B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62147B#FFFFFF#000000##FFFFFF
##62147B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62147b;
/* rgb */ color: rgb(98, 20, 123);
/* oklch */ color: oklch(37.8% 0.166 316.0);
Tailwind
colors: {
  custom: {
    50: '#935da2',
    500: '#62147b',
    950: '#000000',
  },
}
SCSS
$custom: #62147b;
$custom-light: #935da2;
$custom-dark: #000000;
JSON
{
  "hex": "#62147b",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 285.437,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.16551,
    "h": 316
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#62147B
secondary
#57B13A
accent
#EF3965
background
#F9F5FA
surface
#F2E9F3
border
#CCC5CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62147B

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

Preview Lab → · Contrast checker → · Palette generator →

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