#6E29A2#6E29A2

#6E29A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.185 H 306.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6E29A2
RGBrgb(110, 41, 162)
HSLhsl(274, 60%, 40%)
HSVhsv(274, 75%, 64%)
CMYKcmyk(32.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(32.94, 51.49, -52.50)
CIE-LCHlch(32.94, 73.53, 314.44°)
OKLaboklab(44.5% 0.1089 -0.1492)
OKLCHoklch(44.5% 0.185 306.1)
XYZxyz(13.7435, 7.5096, 34.9009)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E29A2 #5DA229
analogous
#3229A2 #6E29A2 #A2299A
triadic
#6E29A2 #A26E29 #29A26E
tetradic
#6E29A2 #A23229 #5DA229 #299AA2
square
#6E29A2 #A23229 #5DA229 #299AA2
split-complementary
#6E29A2 #9AA229 #29A232
monochromatic
#2C1040 #4D1D71 #6E29A2 #8E3BCD #AA6CDA

Accessibility & contrast

On white

8.39
#6E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E29A2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E29A2#FFFFFF#000000##FFFFFF
##6E29A21.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#654663
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e29a2;
/* rgb */ color: rgb(110, 41, 162);
/* oklch */ color: oklch(44.5% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#9c6abe',
    500: '#6e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e29a2;
$custom-light: #9c6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e29a2",
  "rgb": {
    "r": 110,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 274.215,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.18472,
    "h": 306.1
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#6E29A2
secondary
#8DC067
accent
#E34589
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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