#62218F#62218F

#62218F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.171 H 307.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#62218F
RGBrgb(98, 33, 143)
HSLhsl(275, 63%, 35%)
HSVhsv(275, 77%, 56%)
CMYKcmyk(31.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(28.56, 48.14, -48.08)
CIE-LCHlch(28.56, 68.04, 315.04°)
OKLaboklab(40.58% 0.1034 -0.1366)
OKLCHoklch(40.58% 0.171 307.1)
XYZxyz(10.5377, 5.6677, 26.5201)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62218F #4E8F21
analogous
#2B218F #62218F #8F2185
triadic
#62218F #8F6221 #218F62
tetradic
#62218F #8F2B21 #4E8F21 #21858F
square
#62218F #8F2B21 #4E8F21 #21858F
split-complementary
#62218F #858F21 #218F2B
monochromatic
#1E0A2C #40165D #62218F #842CC1 #A153D7

Accessibility & contrast

On white

9.84
#62218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#62218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62218F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62218F#FFFFFF#000000##FFFFFF
##62218F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5A3C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62218f;
/* rgb */ color: rgb(98, 33, 143);
/* oklch */ color: oklch(40.6% 0.171 307.1);
Tailwind
colors: {
  custom: {
    50: '#9364b1',
    500: '#62218f',
    950: '#000000',
  },
}
SCSS
$custom: #62218f;
$custom-light: #9364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62218f",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 275.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.17132,
    "h": 307.1
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#62218F
secondary
#7CBB51
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62218F

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

Preview Lab → · Contrast checker → · Palette generator →

#62218F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva