#6A24A8#6A24A8

#6A24A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.195 H 303.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6A24A8
RGBrgb(106, 36, 168)
HSLhsl(272, 65%, 40%)
HSVhsv(272, 79%, 66%)
CMYKcmyk(36.9%, 78.6%, 0%, 34.1%)
CIE-LABlab(32.15, 54.23, -57.42)
CIE-LCHlch(32.15, 78.98, 313.36°)
OKLaboklab(43.97% 0.1062 -0.1638)
OKLCHoklch(43.97% 0.195 303)
XYZxyz(13.6409, 7.1531, 37.7002)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24A8 #62A824
analogous
#2824A8 #6A24A8 #A824A4
triadic
#6A24A8 #A86A24 #24A86A
tetradic
#6A24A8 #A82824 #62A824 #24A4A8
square
#6A24A8 #A82824 #62A824 #24A4A8
split-complementary
#6A24A8 #A4A824 #24A828
monochromatic
#2A0E43 #4A1976 #6A24A8 #8935D4 #A768DF

Accessibility & contrast

On white

8.64
#6A24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24A8
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24A8#FFFFFF#000000##FFFFFF
##6A24A81.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#5D4766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a24a8;
/* rgb */ color: rgb(106, 36, 168);
/* oklch */ color: oklch(44.0% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#9b67c3',
    500: '#6a24a8',
    950: '#000000',
  },
}
SCSS
$custom: #6a24a8;
$custom-light: #9b67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24a8",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 271.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.19525,
    "h": 303
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#6A24A8
secondary
#91C463
accent
#E8408F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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