#62239A#62239A

#62239A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.180 H 303.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#62239A
RGBrgb(98, 35, 154)
HSLhsl(272, 63%, 37%)
HSVhsv(272, 77%, 60%)
CMYKcmyk(36.4%, 77.3%, 0%, 39.6%)
CIE-LABlab(29.74, 49.91, -52.91)
CIE-LCHlch(29.74, 72.74, 313.33°)
OKLaboklab(41.69% 0.099 -0.1509)
OKLCHoklch(41.69% 0.18 303.3)
XYZxyz(11.4694, 6.1318, 31.1449)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239A #5B9A23
analogous
#27239A #62239A #9A2397
triadic
#62239A #9A6223 #239A62
tetradic
#62239A #9A2723 #5B9A23 #23979A
square
#62239A #9A2723 #5B9A23 #23979A
split-complementary
#62239A #979A23 #239A27
monochromatic
#230C36 #421868 #62239A #822ECC #9F5DDA

Accessibility & contrast

On white

9.43
#62239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62239A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239A#FFFFFF#000000##FFFFFF
##62239A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#57425D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62239a;
/* rgb */ color: rgb(98, 35, 154);
/* oklch */ color: oklch(41.7% 0.180 303.3);
Tailwind
colors: {
  custom: {
    50: '#9465b9',
    500: '#62239a',
    950: '#000000',
  },
}
SCSS
$custom: #62239a;
$custom-light: #9465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62239a",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 271.765,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.18042,
    "h": 303.3
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#62239A
secondary
#89BF5A
accent
#E6428F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62239A

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

Preview Lab → · Contrast checker → · Palette generator →

#62239A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva