#6E24A4#6E24A4

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

Color values

HEX#6E24A4
RGBrgb(110, 36, 164)
HSLhsl(275, 64%, 39%)
HSVhsv(275, 78%, 64%)
CMYKcmyk(32.9%, 78%, 0%, 35.7%)
CIE-LABlab(32.39, 53.99, -54.60)
CIE-LCHlch(32.39, 76.79, 314.67°)
OKLaboklab(44.16% 0.113 -0.1554)
OKLCHoklch(44.16% 0.192 306)
XYZxyz(13.7606, 7.2572, 35.7906)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A4 #5AA424
analogous
#2E24A4 #6E24A4 #A4249A
triadic
#6E24A4 #A46E24 #24A46E
tetradic
#6E24A4 #A42E24 #5AA424 #249AA4
square
#6E24A4 #A42E24 #5AA424 #249AA4
split-complementary
#6E24A4 #9AA424 #24A42E
monochromatic
#2B0E40 #4C1972 #6E24A4 #8F33D2 #AB65DD

Accessibility & contrast

On white

8.57
#6E24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E24A4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A4#FFFFFF#000000##FFFFFF
##6E24A41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e24a4;
/* rgb */ color: rgb(110, 36, 164);
/* oklch */ color: oklch(44.2% 0.192 306.0);
Tailwind
colors: {
  custom: {
    50: '#9d67c0',
    500: '#6e24a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a4;
$custom-light: #9d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a4",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 274.688,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.19215,
    "h": 306
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#6E24A4
secondary
#8AC361
accent
#E74187
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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