#62249E#62249E

#62249E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 301.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#62249E
RGBrgb(98, 36, 158)
HSLhsl(270, 63%, 38%)
HSVhsv(270, 77%, 62%)
CMYKcmyk(38%, 77.2%, 0%, 38%)
CIE-LABlab(30.22, 50.46, -54.56)
CIE-LCHlch(30.22, 74.32, 312.76°)
OKLaboklab(42.13% 0.0971 -0.1557)
OKLCHoklch(42.13% 0.184 301.9)
XYZxyz(11.8379, 6.3270, 32.9387)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62249E #609E24
analogous
#25249E #62249E #9E249D
triadic
#62249E #9E6224 #249E62
tetradic
#62249E #9E2524 #609E24 #249D9E
square
#62249E #9E2524 #609E24 #249D9E
split-complementary
#62249E #9D9E24 #249E25
monochromatic
#240D3A #43196C #62249E #812FD0 #9F61DB

Accessibility & contrast

On white

9.27
#62249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#62249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62249E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62249E#FFFFFF#000000##FFFFFF
##62249E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62249e;
/* rgb */ color: rgb(98, 36, 158);
/* oklch */ color: oklch(42.1% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#9466bc',
    500: '#62249e',
    950: '#000000',
  },
}
SCSS
$custom: #62249e;
$custom-light: #9466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62249e",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 270.492,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.18351,
    "h": 301.9
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#62249E
secondary
#8EC05E
accent
#E64293
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62249E

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

Preview Lab → · Contrast checker → · Palette generator →

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