#6B24C4#6B24C4

#6B24C4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.223 H 296.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6B24C4
RGBrgb(107, 36, 196)
HSLhsl(267, 69%, 45%)
HSVhsv(267, 82%, 77%)
CMYKcmyk(45.4%, 81.6%, 0%, 23.1%)
CIE-LABlab(34.75, 61.06, -69.78)
CIE-LCHlch(34.75, 92.72, 311.18°)
OKLaboklab(46.56% 0.0992 -0.2001)
OKLCHoklch(46.56% 0.223 296.4)
XYZxyz(16.6554, 8.3727, 52.9524)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24C4 #7DC424
analogous
#242DC4 #6B24C4 #BB24C4
triadic
#6B24C4 #C46B24 #24C46B
tetradic
#6B24C4 #C4242D #7DC424 #24C4BB
square
#6B24C4 #C4242D #7DC424 #24C4BB
split-complementary
#6B24C4 #C4BB24 #2DC424
monochromatic
#33115D #4F1B90 #6B24C4 #8A48DD #AB7CE7

Accessibility & contrast

On white

7.85
#6B24C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6B24C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24C4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24C4#FFFFFF#000000##FFFFFF
##6B24C41.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#525376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b24c4;
/* rgb */ color: rgb(107, 36, 196);
/* oklch */ color: oklch(46.6% 0.223 296.4);
Tailwind
colors: {
  custom: {
    50: '#9e69d7',
    500: '#6b24c4',
    950: '#000000',
  },
}
SCSS
$custom: #6b24c4;
$custom-light: #9e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24c4",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 196
  },
  "hsl": {
    "h": 266.625,
    "s": 68.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.22333,
    "h": 296.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#6B24C4
secondary
#A7CF75
accent
#EC3C9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B24C4

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

Preview Lab → · Contrast checker → · Palette generator →

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