#6E24A9#6E24A9

#6E24A9 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.197 H 304.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6E24A9
RGBrgb(110, 36, 169)
HSLhsl(273, 65%, 40%)
HSVhsv(273, 79%, 66%)
CMYKcmyk(34.9%, 78.7%, 0%, 33.7%)
CIE-LABlab(32.79, 55.13, -56.95)
CIE-LCHlch(32.79, 79.27, 314.07°)
OKLaboklab(44.57% 0.1118 -0.1623)
OKLCHoklch(44.57% 0.197 304.5)
XYZxyz(14.2211, 7.4414, 38.2156)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A9 #5FA924
analogous
#2B24A9 #6E24A9 #A924A2
triadic
#6E24A9 #A96E24 #24A96E
tetradic
#6E24A9 #A92B24 #5FA924 #24A2A9
square
#6E24A9 #A92B24 #5FA924 #24A2A9
split-complementary
#6E24A9 #A2A924 #24A92B
monochromatic
#2C0F44 #4D1977 #6E24A9 #8E36D4 #AA68DF

Accessibility & contrast

On white

8.44
#6E24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E24A9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A9#FFFFFF#000000##FFFFFF
##6E24A91.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#634766
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e24a9;
/* rgb */ color: rgb(110, 36, 169);
/* oklch */ color: oklch(44.6% 0.197 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d68c4',
    500: '#6e24a9',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a9;
$custom-light: #9d68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a9",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 273.383,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.19707,
    "h": 304.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#6E24A9
secondary
#8FC564
accent
#E8408A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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