#6E2096#6E2096

#6E2096 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.183 H 310.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6E2096
RGBrgb(110, 32, 150)
HSLhsl(280, 65%, 36%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(26.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(30.76, 52.38, -48.73)
CIE-LCHlch(30.76, 71.54, 317.07°)
OKLaboklab(42.67% 0.1196 -0.1381)
OKLCHoklch(42.67% 0.183 310.9)
XYZxyz(12.4509, 6.5503, 29.4567)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2096 #489620
analogous
#332096 #6E2096 #962083
triadic
#6E2096 #966E20 #20966E
tetradic
#6E2096 #963320 #489620 #208396
square
#6E2096 #963320 #489620 #208396
split-complementary
#6E2096 #839620 #209633
monochromatic
#240A31 #491564 #6E2096 #932BC8 #AE56DB

Accessibility & contrast

On white

9.09
#6E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2096
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2096#FFFFFF#000000##FFFFFF
##6E20961.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#014A94
Tritanopia (blue-blind)
#693D5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e2096;
/* rgb */ color: rgb(110, 32, 150);
/* oklch */ color: oklch(42.7% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c65b6',
    500: '#6e2096',
    950: '#000000',
  },
}
SCSS
$custom: #6e2096;
$custom-light: #9c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2096",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 279.661,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.18272,
    "h": 310.9
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#6E2096
secondary
#78BE53
accent
#E84079
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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