#6E2696#6E2696

#6E2696 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 310.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6E2696
RGBrgb(110, 38, 150)
HSLhsl(279, 60%, 37%)
HSVhsv(279, 75%, 59%)
CMYKcmyk(26.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(31.59, 50.02, -47.39)
CIE-LCHlch(31.59, 68.90, 316.54°)
OKLaboklab(43.25% 0.114 -0.1342)
OKLCHoklch(43.25% 0.176 310.3)
XYZxyz(12.6275, 6.9035, 29.5156)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2696 #4E9626
analogous
#362696 #6E2696 #962686
triadic
#6E2696 #966E26 #26966E
tetradic
#6E2696 #963626 #4E9626 #268696
square
#6E2696 #963626 #4E9626 #268696
split-complementary
#6E2696 #869626 #269636
monochromatic
#260D34 #4A1A65 #6E2696 #9232C7 #AC60D7

Accessibility & contrast

On white

8.82
#6E2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2696
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2696#FFFFFF#000000##FFFFFF
##6E26961.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#0E4B94
Tritanopia (blue-blind)
#68405C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2696;
/* rgb */ color: rgb(110, 38, 150);
/* oklch */ color: oklch(43.3% 0.176 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c68b6',
    500: '#6e2696',
    950: '#000000',
  },
}
SCSS
$custom: #6e2696;
$custom-light: #9c68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2696",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 278.571,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.1761,
    "h": 310.3
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#6E2696
secondary
#7EBC5C
accent
#E3457D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2696

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

Preview Lab → · Contrast checker → · Palette generator →

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