#6A24C4#6A24C4

#6A24C4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.223 H 296.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6A24C4
RGBrgb(106, 36, 196)
HSLhsl(266, 69%, 45%)
HSVhsv(266, 82%, 77%)
CMYKcmyk(45.9%, 81.6%, 0%, 23.1%)
CIE-LABlab(34.62, 60.93, -69.99)
CIE-LCHlch(34.62, 92.80, 311.04°)
OKLaboklab(46.45% 0.0977 -0.2007)
OKLCHoklch(46.45% 0.223 296)
XYZxyz(16.5359, 8.3110, 52.9468)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24C4 #7EC424
analogous
#242EC4 #6A24C4 #BA24C4
triadic
#6A24C4 #C46A24 #24C46A
tetradic
#6A24C4 #C4242E #7EC424 #24C4BA
square
#6A24C4 #C4242E #7EC424 #24C4BA
split-complementary
#6A24C4 #C4BA24 #2EC424
monochromatic
#32115D #4E1B90 #6A24C4 #8948DD #AA7CE7

Accessibility & contrast

On white

7.89
#6A24C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6A24C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24C4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24C4#FFFFFF#000000##FFFFFF
##6A24C41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#505376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a24c4;
/* rgb */ color: rgb(106, 36, 196);
/* oklch */ color: oklch(46.4% 0.223 296.0);
Tailwind
colors: {
  custom: {
    50: '#9e69d7',
    500: '#6a24c4',
    950: '#000000',
  },
}
SCSS
$custom: #6a24c4;
$custom-light: #9e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24c4",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 196
  },
  "hsl": {
    "h": 266.25,
    "s": 68.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.22324,
    "h": 296
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#6A24C4
secondary
#A8CF75
accent
#EC3C9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6A24C4

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

Preview Lab → · Contrast checker → · Palette generator →

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