#62249F#62249F

#62249F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.185 H 301.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#62249F
RGBrgb(98, 36, 159)
HSLhsl(270, 63%, 38%)
HSVhsv(270, 77%, 62%)
CMYKcmyk(38.4%, 77.4%, 0%, 37.6%)
CIE-LABlab(30.31, 50.71, -55.04)
CIE-LCHlch(30.31, 74.83, 312.66°)
OKLaboklab(42.21% 0.0968 -0.1571)
OKLCHoklch(42.21% 0.185 301.7)
XYZxyz(11.9244, 6.3616, 33.3938)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62249F #619F24
analogous
#24249F #62249F #9F249E
triadic
#62249F #9F6224 #249F62
tetradic
#62249F #9F2424 #619F24 #249E9F
square
#62249F #9F2424 #619F24 #249E9F
split-complementary
#62249F #9E9F24 #249F24
monochromatic
#240D3B #43196D #62249F #8130D0 #9F62DB

Accessibility & contrast

On white

9.24
#62249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62249F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62249F#FFFFFF#000000##FFFFFF
##62249F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62249f;
/* rgb */ color: rgb(98, 36, 159);
/* oklch */ color: oklch(42.2% 0.185 301.7);
Tailwind
colors: {
  custom: {
    50: '#9566bc',
    500: '#62249f',
    950: '#000000',
  },
}
SCSS
$custom: #62249f;
$custom-light: #9566bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62249f",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 270.244,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.18455,
    "h": 301.7
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#62249F
secondary
#8FC15E
accent
#E64293
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62249F

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

Preview Lab → · Contrast checker → · Palette generator →

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