#6224AE#6224AE

#6224AE is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.200 H 297.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6224AE
RGBrgb(98, 36, 174)
HSLhsl(267, 66%, 41%)
HSVhsv(267, 79%, 68%)
CMYKcmyk(43.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(31.61, 54.40, -61.95)
CIE-LCHlch(31.61, 82.44, 311.29°)
OKLaboklab(43.53% 0.0927 -0.1774)
OKLCHoklch(43.53% 0.2 297.6)
XYZxyz(13.3059, 6.9142, 40.6697)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224AE #70AE24
analogous
#242BAE #6224AE #A724AE
triadic
#6224AE #AE6224 #24AE62
tetradic
#6224AE #AE242B #70AE24 #24AEA7
square
#6224AE #AE242B #70AE24 #24AEA7
split-complementary
#6224AE #AEA724 #2BAE24
monochromatic
#290F49 #451A7B #6224AE #8039D6 #A06CE1

Accessibility & contrast

On white

8.81
#6224AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6224AE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224AE#FFFFFF#000000##FFFFFF
##6224AE1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#4E4A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6224ae;
/* rgb */ color: rgb(98, 36, 174);
/* oklch */ color: oklch(43.5% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#9667c7',
    500: '#6224ae',
    950: '#000000',
  },
}
SCSS
$custom: #6224ae;
$custom-light: #9667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6224ae",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 266.957,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.20014,
    "h": 297.6
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6224AE

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

Preview Lab → · Contrast checker → · Palette generator →

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