#62147E#62147E

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

Color values

HEX#62147E
RGBrgb(98, 20, 126)
HSLhsl(284, 73%, 29%)
HSVhsv(284, 84%, 49%)
CMYKcmyk(22.2%, 84.1%, 0%, 50.6%)
CIE-LABlab(25.57, 49.14, -42.29)
CIE-LCHlch(25.57, 64.83, 319.29°)
OKLaboklab(38.06% 0.1184 -0.1195)
OKLCHoklch(38.06% 0.168 314.7)
XYZxyz(9.0524, 4.6037, 20.1464)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62147E #307E14
analogous
#2D147E #62147E #7E1465
triadic
#62147E #7E6214 #147E62
tetradic
#62147E #7E2D14 #307E14 #14657E
square
#62147E #7E2D14 #307E14 #14657E
split-complementary
#62147E #657E14 #147E2D
monochromatic
#15041A #390C49 #62147E #8B1CB3 #B02EDE

Accessibility & contrast

On white

10.93
#62147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62147E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62147E#FFFFFF#000000##FFFFFF
##62147E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#0B3E7C
Tritanopia (blue-blind)
#5F2E4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62147e;
/* rgb */ color: rgb(98, 20, 126);
/* oklch */ color: oklch(38.1% 0.168 314.7);
Tailwind
colors: {
  custom: {
    50: '#935da4',
    500: '#62147e',
    950: '#000000',
  },
}
SCSS
$custom: #62147e;
$custom-light: #935da4;
$custom-dark: #000000;
JSON
{
  "hex": "#62147e",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 284.151,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.16822,
    "h": 314.7
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#62147E
secondary
#5AB33A
accent
#EF3869
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62147E

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

Preview Lab → · Contrast checker → · Palette generator →

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