#6224A5#6224A5

#6224A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.191 H 299.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6224A5
RGBrgb(98, 36, 165)
HSLhsl(269, 64%, 39%)
HSVhsv(269, 78%, 65%)
CMYKcmyk(40.6%, 78.2%, 0%, 35.3%)
CIE-LABlab(30.82, 52.18, -57.83)
CIE-LCHlch(30.82, 77.89, 312.06°)
OKLaboklab(42.73% 0.0953 -0.1653)
OKLCHoklch(42.73% 0.191 299.9)
XYZxyz(12.4577, 6.5749, 36.2028)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224A5 #67A524
analogous
#2427A5 #6224A5 #A324A5
triadic
#6224A5 #A56224 #24A562
tetradic
#6224A5 #A52427 #67A524 #24A5A3
square
#6224A5 #A52427 #67A524 #24A5A3
split-complementary
#6224A5 #A5A324 #27A524
monochromatic
#260E41 #441973 #6224A5 #8034D3 #9F66DE

Accessibility & contrast

On white

9.07
#6224A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6224A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224A5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224A5#FFFFFF#000000##FFFFFF
##6224A51.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#524764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6224a5;
/* rgb */ color: rgb(98, 36, 165);
/* oklch */ color: oklch(42.7% 0.191 299.9);
Tailwind
colors: {
  custom: {
    50: '#9566c1',
    500: '#6224a5',
    950: '#000000',
  },
}
SCSS
$custom: #6224a5;
$custom-light: #9566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6224a5",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 268.837,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.1908,
    "h": 299.9
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#6224A5
secondary
#94C362
accent
#E74197
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6224A5

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

Preview Lab → · Contrast checker → · Palette generator →

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