#6224AD#6224AD

#6224AD is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.199 H 297.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6224AD
RGBrgb(98, 36, 173)
HSLhsl(267, 66%, 41%)
HSVhsv(267, 79%, 68%)
CMYKcmyk(43.4%, 79.2%, 0%, 32.2%)
CIE-LABlab(31.52, 54.15, -61.49)
CIE-LCHlch(31.52, 81.94, 311.37°)
OKLaboklab(43.44% 0.093 -0.1761)
OKLCHoklch(43.44% 0.199 297.8)
XYZxyz(13.2087, 6.8753, 40.1582)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224AD #6FAD24
analogous
#242BAD #6224AD #A624AD
triadic
#6224AD #AD6224 #24AD62
tetradic
#6224AD #AD242B #6FAD24 #24ADA6
square
#6224AD #AD242B #6FAD24 #24ADA6
split-complementary
#6224AD #ADA624 #2BAD24
monochromatic
#290F48 #45197A #6224AD #8039D6 #A06BE0

Accessibility & contrast

On white

8.84
#6224AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6224AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224AD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224AD#FFFFFF#000000##FFFFFF
##6224AD1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#4F4A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6224ad;
/* rgb */ color: rgb(98, 36, 173);
/* oklch */ color: oklch(43.4% 0.199 297.8);
Tailwind
colors: {
  custom: {
    50: '#9667c7',
    500: '#6224ad',
    950: '#000000',
  },
}
SCSS
$custom: #6224ad;
$custom-light: #9667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6224ad",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 267.153,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.1991,
    "h": 297.8
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#6224AD
secondary
#9BC666
accent
#E93F9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6224AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6224AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva