#6B24AA#6B24AA

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

Color values

HEX#6B24AA
RGBrgb(107, 36, 170)
HSLhsl(272, 65%, 40%)
HSVhsv(272, 79%, 67%)
CMYKcmyk(37.1%, 78.8%, 0%, 33.3%)
CIE-LABlab(32.46, 54.86, -58.12)
CIE-LCHlch(32.46, 79.92, 313.35°)
OKLaboklab(44.27% 0.1072 -0.1658)
OKLCHoklch(44.27% 0.197 302.9)
XYZxyz(13.9483, 7.2898, 38.6947)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24AA #63AA24
analogous
#2824AA #6B24AA #AA24A6
triadic
#6B24AA #AA6B24 #24AA6B
tetradic
#6B24AA #AA2824 #63AA24 #24A6AA
square
#6B24AA #AA2824 #63AA24 #24A6AA
split-complementary
#6B24AA #A6AA24 #24AA28
monochromatic
#2B0F45 #4B1977 #6B24AA #8A37D5 #A869DF

Accessibility & contrast

On white

8.54
#6B24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B24AA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24AA#FFFFFF#000000##FFFFFF
##6B24AA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b24aa;
/* rgb */ color: rgb(107, 36, 170);
/* oklch */ color: oklch(44.3% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#9b67c4',
    500: '#6b24aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b24aa;
$custom-light: #9b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24aa",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 271.791,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.19744,
    "h": 302.9
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#6B24AA
secondary
#92C565
accent
#E8408F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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