#62219C#62219C

#62219C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.185 H 302.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#62219C
RGBrgb(98, 33, 156)
HSLhsl(272, 65%, 37%)
HSVhsv(272, 79%, 61%)
CMYKcmyk(37.2%, 78.8%, 0%, 38.8%)
CIE-LABlab(29.63, 51.21, -54.32)
CIE-LCHlch(29.63, 74.66, 313.31°)
OKLaboklab(41.66% 0.1002 -0.155)
OKLCHoklch(41.66% 0.185 302.9)
XYZxyz(11.5802, 6.0847, 32.0104)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62219C #5B9C21
analogous
#24219C #62219C #9C2199
triadic
#62219C #9C6221 #219C62
tetradic
#62219C #9C2421 #5B9C21 #21999C
square
#62219C #9C2421 #5B9C21 #21999C
split-complementary
#62219C #999C21 #219C24
monochromatic
#230C37 #421669 #62219C #822CCF #9F5BDC

Accessibility & contrast

On white

9.47
#62219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#62219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62219C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62219C#FFFFFF#000000##FFFFFF
##62219C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#56415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62219c;
/* rgb */ color: rgb(98, 33, 156);
/* oklch */ color: oklch(41.7% 0.185 302.9);
Tailwind
colors: {
  custom: {
    50: '#9464ba',
    500: '#62219c',
    950: '#000000',
  },
}
SCSS
$custom: #62219c;
$custom-light: #9464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62219c",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 271.707,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.18457,
    "h": 302.9
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#62219C
secondary
#89C158
accent
#E8408F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62219C

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

Preview Lab → · Contrast checker → · Palette generator →

#62219C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva