#6A24A3#6A24A3

#6A24A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.190 H 304.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6A24A3
RGBrgb(106, 36, 163)
HSLhsl(273, 64%, 39%)
HSVhsv(273, 78%, 64%)
CMYKcmyk(35%, 77.9%, 0%, 36.1%)
CIE-LABlab(31.74, 53.05, -55.08)
CIE-LCHlch(31.74, 76.47, 313.93°)
OKLaboklab(43.56% 0.1075 -0.1569)
OKLCHoklch(43.56% 0.19 304.4)
XYZxyz(13.1841, 6.9703, 35.2941)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24A3 #5DA324
analogous
#2B24A3 #6A24A3 #A3249D
triadic
#6A24A3 #A36A24 #24A36A
tetradic
#6A24A3 #A32B24 #5DA324 #249DA3
square
#6A24A3 #A32B24 #5DA324 #249DA3
split-complementary
#6A24A3 #9DA324 #24A32B
monochromatic
#290E3F #491971 #6A24A3 #8A32D2 #A765DD

Accessibility & contrast

On white

8.77
#6A24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24A3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24A3#FFFFFF#000000##FFFFFF
##6A24A31.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5F4563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a24a3;
/* rgb */ color: rgb(106, 36, 163);
/* oklch */ color: oklch(43.6% 0.190 304.4);
Tailwind
colors: {
  custom: {
    50: '#9a67bf',
    500: '#6a24a3',
    950: '#000000',
  },
}
SCSS
$custom: #6a24a3;
$custom-light: #9a67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24a3",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 273.071,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.19024,
    "h": 304.4
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#6A24A3
secondary
#8CC260
accent
#E7418B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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