#6A24AE#6A24AE

#6A24AE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.201 H 301.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6A24AE
RGBrgb(106, 36, 174)
HSLhsl(270, 66%, 41%)
HSVhsv(270, 79%, 68%)
CMYKcmyk(39.1%, 79.3%, 0%, 31.8%)
CIE-LABlab(32.66, 55.64, -60.19)
CIE-LCHlch(32.66, 81.97, 312.75°)
OKLaboklab(44.49% 0.1046 -0.1719)
OKLCHoklch(44.49% 0.201 301.3)
XYZxyz(14.2128, 7.3818, 40.7122)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24AE #68AE24
analogous
#2524AE #6A24AE #AE24AD
triadic
#6A24AE #AE6A24 #24AE6A
tetradic
#6A24AE #AE2524 #68AE24 #24ADAE
square
#6A24AE #AE2524 #68AE24 #24ADAE
split-complementary
#6A24AE #ADAE24 #24AE25
monochromatic
#2C0F49 #4B1A7B #6A24AE #8939D6 #A76CE1

Accessibility & contrast

On white

8.48
#6A24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6A24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24AE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24AE#FFFFFF#000000##FFFFFF
##6A24AE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#5B4A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a24ae;
/* rgb */ color: rgb(106, 36, 174);
/* oklch */ color: oklch(44.5% 0.201 301.3);
Tailwind
colors: {
  custom: {
    50: '#9b67c7',
    500: '#6a24ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a24ae;
$custom-light: #9b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24ae",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 270.435,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.20126,
    "h": 301.3
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#6A24AE
secondary
#96C767
accent
#E93F93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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