#62148E#62148E

#62148E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.183 H 308.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#62148E
RGBrgb(98, 20, 142)
HSLhsl(278, 75%, 32%)
HSVhsv(278, 86%, 56%)
CMYKcmyk(31%, 85.9%, 0%, 44.3%)
CIE-LABlab(26.88, 52.55, -50.19)
CIE-LCHlch(26.88, 72.67, 316.31°)
OKLaboklab(39.38% 0.1142 -0.1428)
OKLCHoklch(39.38% 0.183 308.7)
XYZxyz(10.1686, 5.0502, 26.0250)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62148E #408E14
analogous
#25148E #62148E #8E147D
triadic
#62148E #8E6214 #148E62
tetradic
#62148E #8E2514 #408E14 #147D8E
square
#62148E #8E2514 #408E14 #147D8E
split-complementary
#62148E #7D8E14 #148E25
monochromatic
#180523 #3D0C58 #62148E #871CC4 #A639E3

Accessibility & contrast

On white

10.45
#62148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#62148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62148E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62148E#FFFFFF#000000##FFFFFF
##62148E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#5B3654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62148e;
/* rgb */ color: rgb(98, 20, 142);
/* oklch */ color: oklch(39.4% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#945eb0',
    500: '#62148e',
    950: '#000000',
  },
}
SCSS
$custom: #62148e;
$custom-light: #945eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62148e",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 278.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.1828,
    "h": 308.7
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#62148E
secondary
#6CC23C
accent
#F2367A
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62148E

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

Preview Lab → · Contrast checker → · Palette generator →

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