#6E2896#6E2896

#6E2896 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.174 H 310.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6E2896
RGBrgb(110, 40, 150)
HSLhsl(278, 58%, 37%)
HSVhsv(278, 73%, 59%)
CMYKcmyk(26.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(31.89, 49.17, -46.91)
CIE-LCHlch(31.89, 67.95, 316.35°)
OKLaboklab(43.47% 0.112 -0.1328)
OKLCHoklch(43.47% 0.174 310.1)
XYZxyz(12.6931, 7.0349, 29.5374)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2896 #509628
analogous
#372896 #6E2896 #962887
triadic
#6E2896 #966E28 #28966E
tetradic
#6E2896 #963728 #509628 #288796
square
#6E2896 #963728 #509628 #288796
split-complementary
#6E2896 #879628 #289637
monochromatic
#270E35 #4B1B66 #6E2896 #9135C6 #AC63D5

Accessibility & contrast

On white

8.72
#6E2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2896
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2896#FFFFFF#000000##FFFFFF
##6E28961.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#124C94
Tritanopia (blue-blind)
#68415C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2896;
/* rgb */ color: rgb(110, 40, 150);
/* oklch */ color: oklch(43.5% 0.174 310.1);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6e2896',
    950: '#000000',
  },
}
SCSS
$custom: #6e2896;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2896",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.17371,
    "h": 310.1
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#6E2896
secondary
#80BB5F
accent
#E1477F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2896

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

Preview Lab → · Contrast checker → · Palette generator →

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