#6224A7#6224A7

#6224A7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.193 H 299.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6224A7
RGBrgb(98, 36, 167)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(30.99, 52.67, -58.76)
CIE-LCHlch(30.99, 78.91, 311.87°)
OKLaboklab(42.91% 0.0947 -0.168)
OKLCHoklch(42.91% 0.193 299.4)
XYZxyz(12.6412, 6.6483, 37.1690)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224A7 #69A724
analogous
#2427A7 #6224A7 #A424A7
triadic
#6224A7 #A76224 #24A762
tetradic
#6224A7 #A72427 #69A724 #24A7A4
square
#6224A7 #A72427 #69A724 #24A7A4
split-complementary
#6224A7 #A7A424 #27A724
monochromatic
#270E42 #441975 #6224A7 #8035D3 #A067DE

Accessibility & contrast

On white

9.01
#6224A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6224A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224A7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224A7#FFFFFF#000000##FFFFFF
##6224A71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#514765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6224a7;
/* rgb */ color: rgb(98, 36, 167);
/* oklch */ color: oklch(42.9% 0.193 299.4);
Tailwind
colors: {
  custom: {
    50: '#9566c2',
    500: '#6224a7',
    950: '#000000',
  },
}
SCSS
$custom: #6224a7;
$custom-light: #9566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6224a7",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 268.397,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.19288,
    "h": 299.4
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#6224A7
secondary
#96C463
accent
#E84098
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6224A7

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

Preview Lab → · Contrast checker → · Palette generator →

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