#6224A8#6224A8

#6224A8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.194 H 299.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6224A8
RGBrgb(98, 36, 168)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(41.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(31.08, 52.92, -59.22)
CIE-LCHlch(31.08, 79.41, 311.78°)
OKLaboklab(42.99% 0.0944 -0.1694)
OKLCHoklch(42.99% 0.194 299.1)
XYZxyz(12.7340, 6.6854, 37.6577)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224A8 #6AA824
analogous
#2428A8 #6224A8 #A424A8
triadic
#6224A8 #A86224 #24A862
tetradic
#6224A8 #A82428 #6AA824 #24A8A4
square
#6224A8 #A82428 #6AA824 #24A8A4
split-complementary
#6224A8 #A8A424 #28A824
monochromatic
#270E43 #451976 #6224A8 #8035D4 #A068DF

Accessibility & contrast

On white

8.99
#6224A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6224A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224A8
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224A8#FFFFFF#000000##FFFFFF
##6224A81.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#514866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6224a8;
/* rgb */ color: rgb(98, 36, 168);
/* oklch */ color: oklch(43.0% 0.194 299.1);
Tailwind
colors: {
  custom: {
    50: '#9666c3',
    500: '#6224a8',
    950: '#000000',
  },
}
SCSS
$custom: #6224a8;
$custom-light: #9666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6224a8",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 268.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.19392,
    "h": 299.1
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#6224A8
secondary
#97C463
accent
#E84099
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6224A8

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

Preview Lab → · Contrast checker → · Palette generator →

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