#62229C#62229C

#62229C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.184 H 302.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#62229C
RGBrgb(98, 34, 156)
HSLhsl(271, 64%, 37%)
HSVhsv(271, 78%, 61%)
CMYKcmyk(37.2%, 78.2%, 0%, 38.8%)
CIE-LABlab(29.77, 50.81, -54.09)
CIE-LCHlch(29.77, 74.21, 313.21°)
OKLaboklab(41.76% 0.0994 -0.1543)
OKLCHoklch(41.76% 0.184 302.8)
XYZxyz(11.6084, 6.1410, 32.0198)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62229C #5C9C22
analogous
#25229C #62229C #9C2299
triadic
#62229C #9C6222 #229C62
tetradic
#62229C #9C2522 #5C9C22 #22999C
square
#62229C #9C2522 #5C9C22 #22999C
split-complementary
#62229C #999C22 #229C25
monochromatic
#230C38 #42176A #62229C #822DCE #9F5DDC

Accessibility & contrast

On white

9.42
#62229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62229C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62229C#FFFFFF#000000##FFFFFF
##62229C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62229c;
/* rgb */ color: rgb(98, 34, 156);
/* oklch */ color: oklch(41.8% 0.184 302.8);
Tailwind
colors: {
  custom: {
    50: '#9465ba',
    500: '#62229c',
    950: '#000000',
  },
}
SCSS
$custom: #62229c;
$custom-light: #9465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62229c",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 271.475,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.18354,
    "h": 302.8
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#62229C
secondary
#8AC05A
accent
#E74190
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62229C

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

Preview Lab → · Contrast checker → · Palette generator →

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