#6C24BD#6C24BD

#6C24BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.216 H 298.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6C24BD
RGBrgb(108, 36, 189)
HSLhsl(268, 68%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(42.9%, 81%, 0%, 25.9%)
CIE-LABlab(34.24, 59.52, -66.50)
CIE-LCHlch(34.24, 89.24, 311.83°)
OKLaboklab(46.05% 0.103 -0.1904)
OKLCHoklch(46.05% 0.216 298.4)
XYZxyz(15.9981, 8.1238, 48.8594)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24BD #75BD24
analogous
#2429BD #6C24BD #B924BD
triadic
#6C24BD #BD6C24 #24BD6C
tetradic
#6C24BD #BD2429 #75BD24 #24BDB9
square
#6C24BD #BD2429 #75BD24 #24BDB9
split-complementary
#6C24BD #BDB924 #29BD24
monochromatic
#311056 #4F1A8A #6C24BD #8B43DB #AA76E5

Accessibility & contrast

On white

8.00
#6C24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6C24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24BD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24BD#FFFFFF#000000##FFFFFF
##6C24BD1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#575072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c24bd;
/* rgb */ color: rgb(108, 36, 189);
/* oklch */ color: oklch(46.0% 0.216 298.4);
Tailwind
colors: {
  custom: {
    50: '#9e69d2',
    500: '#6c24bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c24bd;
$custom-light: #9e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24bd",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 268.235,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46045,
    "c": 0.21649,
    "h": 298.4
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#6C24BD
secondary
#A1CC70
accent
#EB3D99
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C24BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6C24BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva