#6E24A5#6E24A5

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

Color values

HEX#6E24A5
RGBrgb(110, 36, 165)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(33.3%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.47, 54.22, -55.08)
CIE-LCHlch(32.47, 77.28, 314.55°)
OKLaboklab(44.24% 0.1128 -0.1568)
OKLCHoklch(44.24% 0.193 305.7)
XYZxyz(13.8513, 7.2935, 36.2681)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A5 #5BA524
analogous
#2E24A5 #6E24A5 #A5249B
triadic
#6E24A5 #A56E24 #24A56E
tetradic
#6E24A5 #A52E24 #5BA524 #249BA5
square
#6E24A5 #A52E24 #5BA524 #249BA5
split-complementary
#6E24A5 #9BA524 #24A52E
monochromatic
#2B0E41 #4D1973 #6E24A5 #8F34D3 #AB66DE

Accessibility & contrast

On white

8.54
#6E24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E24A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A5#FFFFFF#000000##FFFFFF
##6E24A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e24a5;
/* rgb */ color: rgb(110, 36, 165);
/* oklch */ color: oklch(44.2% 0.193 305.7);
Tailwind
colors: {
  custom: {
    50: '#9d67c1',
    500: '#6e24a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a5;
$custom-light: #9d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a5",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 274.419,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.19313,
    "h": 305.7
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#6E24A5
secondary
#8BC362
accent
#E74188
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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