#62229B#62229B

#62229B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.183 H 303.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#62229B
RGBrgb(98, 34, 155)
HSLhsl(272, 64%, 37%)
HSVhsv(272, 78%, 61%)
CMYKcmyk(36.8%, 78.1%, 0%, 39.2%)
CIE-LABlab(29.68, 50.57, -53.62)
CIE-LCHlch(29.68, 73.70, 313.32°)
OKLaboklab(41.67% 0.0996 -0.1529)
OKLCHoklch(41.67% 0.183 303.1)
XYZxyz(11.5240, 6.1073, 31.5757)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62229B #5B9B22
analogous
#26229B #62229B #9B2297
triadic
#62229B #9B6222 #229B62
tetradic
#62229B #9B2622 #5B9B22 #22979B
square
#62229B #9B2622 #5B9B22 #22979B
split-complementary
#62229B #979B22 #229B26
monochromatic
#230C37 #421769 #62229B #822DCD #9F5CDB

Accessibility & contrast

On white

9.45
#62229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#62229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62229B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62229B#FFFFFF#000000##FFFFFF
##62229B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62229b;
/* rgb */ color: rgb(98, 34, 155);
/* oklch */ color: oklch(41.7% 0.183 303.1);
Tailwind
colors: {
  custom: {
    50: '#9465b9',
    500: '#62229b',
    950: '#000000',
  },
}
SCSS
$custom: #62229b;
$custom-light: #9465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62229b",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 271.736,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41671,
    "c": 0.18252,
    "h": 303.1
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#62229B
secondary
#89C059
accent
#E7418F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62229B

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

Preview Lab → · Contrast checker → · Palette generator →

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