#6A24AA#6A24AA

#6A24AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.197 H 302.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6A24AA
RGBrgb(106, 36, 170)
HSLhsl(271, 65%, 40%)
HSVhsv(271, 79%, 67%)
CMYKcmyk(37.6%, 78.8%, 0%, 33.3%)
CIE-LABlab(32.32, 54.70, -58.35)
CIE-LCHlch(32.32, 79.97, 313.15°)
OKLaboklab(44.15% 0.1057 -0.1665)
OKLCHoklch(44.15% 0.197 302.4)
XYZxyz(13.8287, 7.2282, 38.6890)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24AA #64AA24
analogous
#2724AA #6A24AA #AA24A7
triadic
#6A24AA #AA6A24 #24AA6A
tetradic
#6A24AA #AA2724 #64AA24 #24A7AA
square
#6A24AA #AA2724 #64AA24 #24A7AA
split-complementary
#6A24AA #A7AA24 #24AA27
monochromatic
#2B0F45 #4B1977 #6A24AA #8937D5 #A769DF

Accessibility & contrast

On white

8.59
#6A24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6A24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24AA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24AA#FFFFFF#000000##FFFFFF
##6A24AA1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#5C4867
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a24aa;
/* rgb */ color: rgb(106, 36, 170);
/* oklch */ color: oklch(44.1% 0.197 302.4);
Tailwind
colors: {
  custom: {
    50: '#9b67c4',
    500: '#6a24aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a24aa;
$custom-light: #9b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24aa",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 271.343,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.19725,
    "h": 302.4
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#6A24AA
secondary
#93C565
accent
#E84090
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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