#62249C#62249C

#62249C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.181 H 302.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#62249C
RGBrgb(98, 36, 156)
HSLhsl(271, 63%, 38%)
HSVhsv(271, 77%, 61%)
CMYKcmyk(37.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(30.06, 49.98, -53.62)
CIE-LCHlch(30.06, 73.30, 312.99°)
OKLaboklab(41.96% 0.0976 -0.1529)
OKLCHoklch(41.96% 0.181 302.5)
XYZxyz(11.6672, 6.2587, 32.0394)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62249C #5E9C24
analogous
#26249C #62249C #9C249A
triadic
#62249C #9C6224 #249C62
tetradic
#62249C #9C2624 #5E9C24 #249A9C
square
#62249C #9C2624 #5E9C24 #249A9C
split-complementary
#62249C #9A9C24 #249C26
monochromatic
#240D39 #43196A #62249C #812FCE #9F60DA

Accessibility & contrast

On white

9.33
#62249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#62249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62249C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62249C#FFFFFF#000000##FFFFFF
##62249C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#56435F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62249c;
/* rgb */ color: rgb(98, 36, 156);
/* oklch */ color: oklch(42.0% 0.181 302.5);
Tailwind
colors: {
  custom: {
    50: '#9466ba',
    500: '#62249c',
    950: '#000000',
  },
}
SCSS
$custom: #62249c;
$custom-light: #9466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62249c",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 271,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.18142,
    "h": 302.5
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#62249C
secondary
#8CBF5C
accent
#E64291
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62249C

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

Preview Lab → · Contrast checker → · Palette generator →

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