#6E24A8#6E24A8

#6E24A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.196 H 304.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6E24A8
RGBrgb(110, 36, 168)
HSLhsl(274, 65%, 40%)
HSVhsv(274, 79%, 66%)
CMYKcmyk(34.5%, 78.6%, 0%, 34.1%)
CIE-LABlab(32.71, 54.90, -56.49)
CIE-LCHlch(32.71, 78.77, 314.19°)
OKLaboklab(44.48% 0.112 -0.1609)
OKLCHoklch(44.48% 0.196 304.8)
XYZxyz(14.1276, 7.4040, 37.7230)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A8 #5EA824
analogous
#2C24A8 #6E24A8 #A824A0
triadic
#6E24A8 #A86E24 #24A86E
tetradic
#6E24A8 #A82C24 #5EA824 #24A0A8
square
#6E24A8 #A82C24 #5EA824 #24A0A8
split-complementary
#6E24A8 #A0A824 #24A82C
monochromatic
#2C0E43 #4D1976 #6E24A8 #8E35D4 #AA68DF

Accessibility & contrast

On white

8.47
#6E24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E24A8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A8#FFFFFF#000000##FFFFFF
##6E24A81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#634666
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e24a8;
/* rgb */ color: rgb(110, 36, 168);
/* oklch */ color: oklch(44.5% 0.196 304.8);
Tailwind
colors: {
  custom: {
    50: '#9d68c3',
    500: '#6e24a8',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a8;
$custom-light: #9d68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a8",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 273.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.19609,
    "h": 304.8
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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