#6D24A5#6D24A5

#6D24A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.193 H 305.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6D24A5
RGBrgb(109, 36, 165)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(33.9%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.32, 54.04, -55.31)
CIE-LCHlch(32.32, 77.33, 314.33°)
OKLaboklab(44.11% 0.1113 -0.1575)
OKLCHoklch(44.11% 0.193 305.3)
XYZxyz(13.7276, 7.2297, 36.2623)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D24A5 #5CA524
analogous
#2C24A5 #6D24A5 #A5249D
triadic
#6D24A5 #A56D24 #24A56D
tetradic
#6D24A5 #A52C24 #5CA524 #249DA5
square
#6D24A5 #A52C24 #5CA524 #249DA5
split-complementary
#6D24A5 #9DA524 #24A52C
monochromatic
#2B0E41 #4C1973 #6D24A5 #8E34D3 #AA66DE

Accessibility & contrast

On white

8.59
#6D24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D24A5
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D24A5#FFFFFF#000000##FFFFFF
##6D24A51.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#624564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d24a5;
/* rgb */ color: rgb(109, 36, 165);
/* oklch */ color: oklch(44.1% 0.193 305.3);
Tailwind
colors: {
  custom: {
    50: '#9c67c1',
    500: '#6d24a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d24a5;
$custom-light: #9c67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d24a5",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 273.953,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.1929,
    "h": 305.3
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#6D24A5
secondary
#8CC362
accent
#E74189
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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