#6D24A4#6D24A4

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

Color values

HEX#6D24A4
RGBrgb(109, 36, 164)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(33.5%, 78%, 0%, 35.7%)
CIE-LABlab(32.24, 53.81, -54.84)
CIE-LCHlch(32.24, 76.83, 314.46°)
OKLaboklab(44.03% 0.1116 -0.1561)
OKLCHoklch(44.03% 0.192 305.6)
XYZxyz(13.6369, 7.1934, 35.7848)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D24A4 #5BA424
analogous
#2D24A4 #6D24A4 #A4249B
triadic
#6D24A4 #A46D24 #24A46D
tetradic
#6D24A4 #A42D24 #5BA424 #249BA4
square
#6D24A4 #A42D24 #5BA424 #249BA4
split-complementary
#6D24A4 #9BA424 #24A42D
monochromatic
#2A0E40 #4C1972 #6D24A4 #8E33D2 #AA65DD

Accessibility & contrast

On white

8.61
#6D24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6D24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D24A4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D24A4#FFFFFF#000000##FFFFFF
##6D24A41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#634563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d24a4;
/* rgb */ color: rgb(109, 36, 164);
/* oklch */ color: oklch(44.0% 0.192 305.6);
Tailwind
colors: {
  custom: {
    50: '#9c67c0',
    500: '#6d24a4',
    950: '#000000',
  },
}
SCSS
$custom: #6d24a4;
$custom-light: #9c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d24a4",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 274.219,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.19191,
    "h": 305.6
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#6D24A4
secondary
#8BC361
accent
#E74188
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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