#6E24A6#6E24A6

#6E24A6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 305.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6E24A6
RGBrgb(110, 36, 166)
HSLhsl(274, 64%, 40%)
HSVhsv(274, 78%, 65%)
CMYKcmyk(33.7%, 78.3%, 0%, 34.9%)
CIE-LABlab(32.55, 54.44, -55.55)
CIE-LCHlch(32.55, 77.78, 314.43°)
OKLaboklab(44.32% 0.1125 -0.1582)
OKLCHoklch(44.32% 0.194 305.4)
XYZxyz(13.9427, 7.3300, 36.7493)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A6 #5CA624
analogous
#2D24A6 #6E24A6 #A6249D
triadic
#6E24A6 #A66E24 #24A66E
tetradic
#6E24A6 #A62D24 #5CA624 #249DA6
square
#6E24A6 #A62D24 #5CA624 #249DA6
split-complementary
#6E24A6 #9DA624 #24A62D
monochromatic
#2B0E41 #4D1974 #6E24A6 #8F34D3 #AA66DE

Accessibility & contrast

On white

8.52
#6E24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E24A6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A6#FFFFFF#000000##FFFFFF
##6E24A61.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#644665
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e24a6;
/* rgb */ color: rgb(110, 36, 166);
/* oklch */ color: oklch(44.3% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d68c1',
    500: '#6e24a6',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a6;
$custom-light: #9d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a6",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 274.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44318,
    "c": 0.19412,
    "h": 305.4
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#6E24A6
secondary
#8CC462
accent
#E74088
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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