#6A24AC#6A24AC

#6A24AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.199 H 301.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6A24AC
RGBrgb(106, 36, 172)
HSLhsl(271, 65%, 41%)
HSVhsv(271, 79%, 67%)
CMYKcmyk(38.4%, 79.1%, 0%, 32.5%)
CIE-LABlab(32.49, 55.17, -59.27)
CIE-LCHlch(32.49, 80.97, 312.95°)
OKLaboklab(44.32% 0.1052 -0.1693)
OKLCHoklch(44.32% 0.199 301.9)
XYZxyz(14.0193, 7.3044, 39.6930)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24AC #66AC24
analogous
#2624AC #6A24AC #AC24AA
triadic
#6A24AC #AC6A24 #24AC6A
tetradic
#6A24AC #AC2624 #66AC24 #24AAAC
square
#6A24AC #AC2624 #66AC24 #24AAAC
split-complementary
#6A24AC #AAAC24 #24AC26
monochromatic
#2C0F47 #4B1979 #6A24AC #8938D5 #A76AE0

Accessibility & contrast

On white

8.53
#6A24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24AC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24AC#FFFFFF#000000##FFFFFF
##6A24AC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5C4968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a24ac;
/* rgb */ color: rgb(106, 36, 172);
/* oklch */ color: oklch(44.3% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#9b67c6',
    500: '#6a24ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a24ac;
$custom-light: #9b67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24ac",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 270.882,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.19925,
    "h": 301.9
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#6A24AC
secondary
#94C666
accent
#E83F91
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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