#62249A#62249A

#62249A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.179 H 303.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#62249A
RGBrgb(98, 36, 154)
HSLhsl(272, 62%, 37%)
HSVhsv(272, 77%, 60%)
CMYKcmyk(36.4%, 76.6%, 0%, 39.6%)
CIE-LABlab(29.89, 49.49, -52.67)
CIE-LCHlch(29.89, 72.27, 313.22°)
OKLaboklab(41.79% 0.0981 -0.1501)
OKLCHoklch(41.79% 0.179 303.2)
XYZxyz(11.4992, 6.1915, 31.1549)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62249A #5C9A24
analogous
#27249A #62249A #9A2497
triadic
#62249A #9A6224 #249A62
tetradic
#62249A #9A2724 #5C9A24 #24979A
square
#62249A #9A2724 #5C9A24 #24979A
split-complementary
#62249A #979A24 #249A27
monochromatic
#230D37 #421868 #62249A #8230CC #9F5FDA

Accessibility & contrast

On white

9.38
#62249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62249A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62249A#FFFFFF#000000##FFFFFF
##62249A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62249a;
/* rgb */ color: rgb(98, 36, 154);
/* oklch */ color: oklch(41.8% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#9466b9',
    500: '#62249a',
    950: '#000000',
  },
}
SCSS
$custom: #62249a;
$custom-light: #9466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62249a",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 271.525,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.17934,
    "h": 303.2
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#62249A
secondary
#8ABF5B
accent
#E54390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62249A

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

Preview Lab → · Contrast checker → · Palette generator →

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