#6B24BD#6B24BD

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

Color values

HEX#6B24BD
RGBrgb(107, 36, 189)
HSLhsl(268, 68%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(43.4%, 81%, 0%, 25.9%)
CIE-LABlab(34.11, 59.38, -66.71)
CIE-LCHlch(34.11, 89.31, 311.67°)
OKLaboklab(45.93% 0.1015 -0.1911)
OKLCHoklch(45.93% 0.216 298)
XYZxyz(15.8772, 8.0614, 48.8537)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24BD #76BD24
analogous
#242ABD #6B24BD #B824BD
triadic
#6B24BD #BD6B24 #24BD6B
tetradic
#6B24BD #BD242A #76BD24 #24BDB8
square
#6B24BD #BD242A #76BD24 #24BDB8
split-complementary
#6B24BD #BDB824 #2ABD24
monochromatic
#311056 #4E1A8A #6B24BD #8A43DB #AA76E5

Accessibility & contrast

On white

8.04
#6B24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6B24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24BD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24BD#FFFFFF#000000##FFFFFF
##6B24BD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#565072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b24bd;
/* rgb */ color: rgb(107, 36, 189);
/* oklch */ color: oklch(45.9% 0.216 298.0);
Tailwind
colors: {
  custom: {
    50: '#9d68d2',
    500: '#6b24bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b24bd;
$custom-light: #9d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24bd",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 267.843,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.21637,
    "h": 298
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#6B24BD
secondary
#A2CC70
accent
#EB3D9A
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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