#6224BC#6224BC

#6224BC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.215 H 294.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6224BC
RGBrgb(98, 36, 188)
HSLhsl(264, 68%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(47.9%, 80.9%, 0%, 26.3%)
CIE-LABlab(32.89, 57.89, -68.16)
CIE-LCHlch(32.89, 89.43, 310.34°)
OKLaboklab(44.81% 0.0882 -0.1956)
OKLCHoklch(44.81% 0.215 294.3)
XYZxyz(14.7425, 7.4888, 48.2359)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224BC #7EBC24
analogous
#2432BC #6224BC #AE24BC
triadic
#6224BC #BC6224 #24BC62
tetradic
#6224BC #BC2432 #7EBC24 #24BCAE
square
#6224BC #BC2432 #7EBC24 #24BCAE
split-complementary
#6224BC #BCAE24 #32BC24
monochromatic
#2C1055 #471A89 #6224BC #8142DB #A376E5

Accessibility & contrast

On white

8.41
#6224BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6224BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224BC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224BC#FFFFFF#000000##FFFFFF
##6224BC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#465071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6224bc;
/* rgb */ color: rgb(98, 36, 188);
/* oklch */ color: oklch(44.8% 0.215 294.3);
Tailwind
colors: {
  custom: {
    50: '#9867d1',
    500: '#6224bc',
    950: '#000000',
  },
}
SCSS
$custom: #6224bc;
$custom-light: #9867d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6224bc",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 264.474,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.21459,
    "h": 294.3
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#6224BC
secondary
#A6CC70
accent
#EB3DA4
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6224BC

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

Preview Lab → · Contrast checker → · Palette generator →

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