#62179E#62179E

#62179E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.195 H 303.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#62179E
RGBrgb(98, 23, 158)
HSLhsl(273, 75%, 35%)
HSVhsv(273, 85%, 62%)
CMYKcmyk(38%, 85.4%, 0%, 38%)
CIE-LABlab(28.59, 55.22, -57.24)
CIE-LCHlch(28.59, 79.53, 313.97°)
OKLaboklab(40.99% 0.1071 -0.1635)
OKLCHoklch(40.99% 0.195 303.2)
XYZxyz(11.5135, 5.6781, 32.8305)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62179E #539E17
analogous
#1E179E #62179E #9E1797
triadic
#62179E #9E6217 #179E62
tetradic
#62179E #9E1E17 #539E17 #17979E
square
#62179E #9E1E17 #539E17 #17979E
split-complementary
#62179E #979E17 #179E1E
monochromatic
#200733 #410F69 #62179E #831FD3 #A04BE5

Accessibility & contrast

On white

9.83
#62179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#62179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62179E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62179E#FFFFFF#000000##FFFFFF
##62179E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#553E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62179e;
/* rgb */ color: rgb(98, 23, 158);
/* oklch */ color: oklch(41.0% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#9560bc',
    500: '#62179e',
    950: '#000000',
  },
}
SCSS
$custom: #62179e;
$custom-light: #9560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62179e",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 273.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.19541,
    "h": 303.2
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#62179E
secondary
#82C64A
accent
#F1378A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #62179E

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

Preview Lab → · Contrast checker → · Palette generator →

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