#6E2E9E#6E2E9E

#6E2E9E is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 306.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6E2E9E
RGBrgb(110, 46, 158)
HSLhsl(274, 55%, 40%)
HSVhsv(274, 71%, 62%)
CMYKcmyk(30.4%, 70.9%, 0%, 38%)
CIE-LABlab(33.43, 48.31, -49.28)
CIE-LCHlch(33.43, 69.01, 314.43°)
OKLaboklab(44.75% 0.1044 -0.1398)
OKLCHoklch(44.75% 0.175 306.8)
XYZxyz(13.5776, 7.7378, 33.1194)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E9E #5E9E2E
analogous
#362E9E #6E2E9E #9E2E96
triadic
#6E2E9E #9E6E2E #2E9E6E
tetradic
#6E2E9E #9E362E #5E9E2E #2E969E
square
#6E2E9E #9E362E #5E9E2E #2E969E
split-complementary
#6E2E9E #969E2E #2E9E36
monochromatic
#2C123F #4D206F #6E2E9E #8E41C8 #AA71D6

Accessibility & contrast

On white

8.24
#6E2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E2E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E9E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E9E#FFFFFF#000000##FFFFFF
##6E2E9E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#094F9C
Tritanopia (blue-blind)
#664763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2e9e;
/* rgb */ color: rgb(110, 46, 158);
/* oklch */ color: oklch(44.8% 0.175 306.8);
Tailwind
colors: {
  custom: {
    50: '#9c6cbb',
    500: '#6e2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e9e;
$custom-light: #9c6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e9e",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 274.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.17451,
    "h": 306.8
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#6E2E9E
secondary
#8EBD6B
accent
#DE4A89
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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