#6E2E97#6E2E97

#6E2E97 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.167 H 309.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6E2E97
RGBrgb(110, 46, 151)
HSLhsl(277, 53%, 39%)
HSVhsv(277, 70%, 59%)
CMYKcmyk(27.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(32.93, 46.67, -45.84)
CIE-LCHlch(32.93, 65.42, 315.52°)
OKLaboklab(44.23% 0.1053 -0.1297)
OKLCHoklch(44.23% 0.167 309.1)
XYZxyz(12.9922, 7.5036, 30.0361)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E97 #57972E
analogous
#392E97 #6E2E97 #972E8B
triadic
#6E2E97 #976E2E #2E976E
tetradic
#6E2E97 #97392E #57972E #2E8B97
square
#6E2E97 #97392E #57972E #2E8B97
split-complementary
#6E2E97 #8B972E #2E9739
monochromatic
#2A1139 #4C2068 #6E2E97 #903EC4 #AB6DD2

Accessibility & contrast

On white

8.40
#6E2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2E97
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E97#FFFFFF#000000##FFFFFF
##6E2E971.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1A4E95
Tritanopia (blue-blind)
#68455F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2e97;
/* rgb */ color: rgb(110, 46, 151);
/* oklch */ color: oklch(44.2% 0.167 309.1);
Tailwind
colors: {
  custom: {
    50: '#9b6cb6',
    500: '#6e2e97',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e97;
$custom-light: #9b6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e97",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 276.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4423,
    "c": 0.16708,
    "h": 309.1
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#6E2E97
secondary
#87BA67
accent
#DD4B84
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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