#6224BD#6224BD

#6224BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.216 H 294.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6224BD
RGBrgb(98, 36, 189)
HSLhsl(264, 68%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(48.1%, 81%, 0%, 25.9%)
CIE-LABlab(32.99, 58.14, -68.60)
CIE-LCHlch(32.99, 89.92, 310.28°)
OKLaboklab(44.9% 0.0879 -0.1969)
OKLCHoklch(44.9% 0.216 294.1)
XYZxyz(14.8507, 7.5321, 48.8056)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6224BD #7FBD24
analogous
#2432BD #6224BD #AF24BD
triadic
#6224BD #BD6224 #24BD62
tetradic
#6224BD #BD2432 #7FBD24 #24BDAF
square
#6224BD #BD2432 #7FBD24 #24BDAF
split-complementary
#6224BD #BDAF24 #32BD24
monochromatic
#2D1056 #471A8A #6224BD #8143DB #A376E5

Accessibility & contrast

On white

8.38
#6224BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6224BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6224BD
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6224BD#FFFFFF#000000##FFFFFF
##6224BD1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#465172
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6224bd;
/* rgb */ color: rgb(98, 36, 189);
/* oklch */ color: oklch(44.9% 0.216 294.1);
Tailwind
colors: {
  custom: {
    50: '#9867d2',
    500: '#6224bd',
    950: '#000000',
  },
}
SCSS
$custom: #6224bd;
$custom-light: #9867d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6224bd",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 264.314,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.21562,
    "h": 294.1
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6224BD

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

Preview Lab → · Contrast checker → · Palette generator →

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