#62249B#62249B

#62249B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.180 H 302.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#62249B
RGBrgb(98, 36, 155)
HSLhsl(271, 62%, 37%)
HSVhsv(271, 77%, 61%)
CMYKcmyk(36.8%, 76.8%, 0%, 39.2%)
CIE-LABlab(29.97, 49.73, -53.14)
CIE-LCHlch(29.97, 72.78, 313.10°)
OKLaboklab(41.88% 0.0978 -0.1515)
OKLCHoklch(41.88% 0.18 302.8)
XYZxyz(11.5829, 6.2250, 31.5953)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62249B #5D9B24
analogous
#27249B #62249B #9B2498
triadic
#62249B #9B6224 #249B62
tetradic
#62249B #9B2724 #5D9B24 #24989B
square
#62249B #9B2724 #5D9B24 #24989B
split-complementary
#62249B #989B24 #249B27
monochromatic
#230D38 #431869 #62249B #8130CD #9F5FDA

Accessibility & contrast

On white

9.35
#62249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62249B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62249B#FFFFFF#000000##FFFFFF
##62249B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62249b;
/* rgb */ color: rgb(98, 36, 155);
/* oklch */ color: oklch(41.9% 0.180 302.8);
Tailwind
colors: {
  custom: {
    50: '#9466b9',
    500: '#62249b',
    950: '#000000',
  },
}
SCSS
$custom: #62249b;
$custom-light: #9466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62249b",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 271.261,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.18038,
    "h": 302.8
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#62249B
secondary
#8BBF5C
accent
#E54290
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62249B

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

Preview Lab → · Contrast checker → · Palette generator →

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