#6224A6#6224A6

#6224A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.192 H 299.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6224A6
RGBrgb(98, 36, 166)
HSLhsl(269, 64%, 40%)
HSVhsv(269, 78%, 65%)
CMYKcmyk(41%, 78.3%, 0%, 34.9%)
CIE-LABlab(30.91, 52.42, -58.30)
CIE-LCHlch(30.91, 78.40, 311.96°)
OKLaboklab(42.82% 0.095 -0.1667)
OKLCHoklch(42.82% 0.192 299.7)
XYZxyz(12.5491, 6.6114, 36.6840)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224A6 #68A624
analogous
#2427A6 #6224A6 #A324A6
triadic
#6224A6 #A66224 #24A662
tetradic
#6224A6 #A62427 #68A624 #24A6A3
square
#6224A6 #A62427 #68A624 #24A6A3
split-complementary
#6224A6 #A6A324 #27A624
monochromatic
#270E41 #441974 #6224A6 #8034D3 #9F66DE

Accessibility & contrast

On white

9.04
#6224A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6224A6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224A6#FFFFFF#000000##FFFFFF
##6224A61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6224a6;
/* rgb */ color: rgb(98, 36, 166);
/* oklch */ color: oklch(42.8% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#9566c1',
    500: '#6224a6',
    950: '#000000',
  },
}
SCSS
$custom: #6224a6;
$custom-light: #9566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6224a6",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 268.615,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.19184,
    "h": 299.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#6224A6
secondary
#95C462
accent
#E74098
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6224A6

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

Preview Lab → · Contrast checker → · Palette generator →

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