#62218C#62218C

#62218C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.168 H 308.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#62218C
RGBrgb(98, 33, 140)
HSLhsl(276, 62%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(30%, 76.4%, 0%, 45.1%)
CIE-LABlab(28.32, 47.44, -46.60)
CIE-LCHlch(28.32, 66.50, 315.51°)
OKLaboklab(40.34% 0.104 -0.1323)
OKLCHoklch(40.34% 0.168 308.2)
XYZxyz(10.3135, 5.5780, 25.3392)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62218C #4B8C21
analogous
#2D218C #62218C #8C2181
triadic
#62218C #8C6221 #218C62
tetradic
#62218C #8C2D21 #4B8C21 #21818C
square
#62218C #8C2D21 #4B8C21 #21818C
split-complementary
#62218C #818C21 #218C2D
monochromatic
#1D0A29 #3F155A #62218C #852DBE #A251D6

Accessibility & contrast

On white

9.93
#62218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#62218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62218C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62218C#FFFFFF#000000##FFFFFF
##62218C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5B3B55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62218c;
/* rgb */ color: rgb(98, 33, 140);
/* oklch */ color: oklch(40.3% 0.168 308.2);
Tailwind
colors: {
  custom: {
    50: '#9363ae',
    500: '#62218c',
    950: '#000000',
  },
}
SCSS
$custom: #62218c;
$custom-light: #9363ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62218c",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 276.449,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.16826,
    "h": 308.2
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#62218C
secondary
#79B94F
accent
#E54382
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #62218C

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

Preview Lab → · Contrast checker → · Palette generator →

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