#6E24A2#6E24A2

#6E24A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.190 H 306.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6E24A2
RGBrgb(110, 36, 162)
HSLhsl(275, 64%, 39%)
HSVhsv(275, 78%, 64%)
CMYKcmyk(32.1%, 77.8%, 0%, 36.5%)
CIE-LABlab(32.23, 53.53, -53.66)
CIE-LCHlch(32.23, 75.79, 314.93°)
OKLaboklab(43.99% 0.1135 -0.1526)
OKLCHoklch(43.99% 0.19 306.6)
XYZxyz(13.5815, 7.1855, 34.8469)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E24A2 #58A224
analogous
#2F24A2 #6E24A2 #A22497
triadic
#6E24A2 #A26E24 #24A26E
tetradic
#6E24A2 #A22F24 #58A224 #2497A2
square
#6E24A2 #A22F24 #58A224 #2497A2
split-complementary
#6E24A2 #97A224 #24A22F
monochromatic
#2A0E3E #4C1970 #6E24A2 #9032D1 #AB64DD

Accessibility & contrast

On white

8.62
#6E24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E24A2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E24A2#FFFFFF#000000##FFFFFF
##6E24A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#654462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e24a2;
/* rgb */ color: rgb(110, 36, 162);
/* oklch */ color: oklch(44.0% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#9d67be',
    500: '#6e24a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e24a2;
$custom-light: #9d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e24a2",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 275.238,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.19018,
    "h": 306.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#6E24A2
secondary
#88C260
accent
#E74185
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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