#62159E#62159E

#62159E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.197 H 303.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#62159E
RGBrgb(98, 21, 158)
HSLhsl(274, 77%, 35%)
HSVhsv(274, 87%, 62%)
CMYKcmyk(38%, 86.7%, 0%, 38%)
CIE-LABlab(28.38, 55.81, -57.57)
CIE-LCHlch(28.38, 80.18, 314.11°)
OKLaboklab(40.85% 0.1083 -0.1644)
OKLCHoklch(40.85% 0.197 303.4)
XYZxyz(11.4753, 5.6016, 32.8178)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62159E #519E15
analogous
#1E159E #62159E #9E1595
triadic
#62159E #9E6215 #159E62
tetradic
#62159E #9E1E15 #519E15 #15959E
square
#62159E #9E1E15 #519E15 #15959E
split-complementary
#62159E #959E15 #159E1E
monochromatic
#1F0732 #400E68 #62159E #841CD4 #A147E7

Accessibility & contrast

On white

9.90
#62159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#62159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62159E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62159E#FFFFFF#000000##FFFFFF
##62159E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62159e;
/* rgb */ color: rgb(98, 21, 158);
/* oklch */ color: oklch(40.9% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#9560bc',
    500: '#62159e',
    950: '#000000',
  },
}
SCSS
$custom: #62159e;
$custom-light: #9560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62159e",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 273.723,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.19688,
    "h": 303.4
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#62159E
secondary
#7FC747
accent
#F33588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #62159E

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

Preview Lab → · Contrast checker → · Palette generator →

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