#6D24A6#6D24A6

#6D24A6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.194 H 305.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6D24A6
RGBrgb(109, 36, 166)
HSLhsl(274, 64%, 40%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(34.3%, 78.3%, 0%, 34.9%)
CIE-LABlab(32.41, 54.27, -55.78)
CIE-LCHlch(32.41, 77.83, 314.21°)
OKLaboklab(44.19% 0.1111 -0.1589)
OKLCHoklch(44.19% 0.194 305)
XYZxyz(13.8189, 7.2662, 36.7435)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D24A6 #5DA624
analogous
#2C24A6 #6D24A6 #A6249E
triadic
#6D24A6 #A66D24 #24A66D
tetradic
#6D24A6 #A62C24 #5DA624 #249EA6
square
#6D24A6 #A62C24 #5DA624 #249EA6
split-complementary
#6D24A6 #9EA624 #24A62C
monochromatic
#2B0E41 #4C1974 #6D24A6 #8D34D3 #AA66DE

Accessibility & contrast

On white

8.56
#6D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D24A6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D24A6#FFFFFF#000000##FFFFFF
##6D24A61.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#624665
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d24a6;
/* rgb */ color: rgb(109, 36, 166);
/* oklch */ color: oklch(44.2% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#9c67c1',
    500: '#6d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #6d24a6;
$custom-light: #9c67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d24a6",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 273.692,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.19389,
    "h": 305
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#6D24A6
secondary
#8DC462
accent
#E7408A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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