#6E1E97#6E1E97

#6E1E97 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 310.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6E1E97
RGBrgb(110, 30, 151)
HSLhsl(280, 67%, 35%)
HSVhsv(280, 80%, 59%)
CMYKcmyk(27.2%, 80.1%, 0%, 40.8%)
CIE-LABlab(30.59, 53.32, -49.62)
CIE-LCHlch(30.59, 72.84, 317.06°)
OKLaboklab(42.57% 0.1211 -0.1407)
OKLCHoklch(42.57% 0.186 310.7)
XYZxyz(12.4795, 6.4782, 29.8652)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E97 #47971E
analogous
#311E97 #6E1E97 #971E84
triadic
#6E1E97 #976E1E #1E976E
tetradic
#6E1E97 #97311E #47971E #1E8497
square
#6E1E97 #97311E #47971E #1E8497
split-complementary
#6E1E97 #84971E #1E9731
monochromatic
#240A31 #491464 #6E1E97 #9328CA #AE53DD

Accessibility & contrast

On white

9.15
#6E1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6E1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E97
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E97#FFFFFF#000000##FFFFFF
##6E1E971.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#683C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1e97;
/* rgb */ color: rgb(110, 30, 151);
/* oklch */ color: oklch(42.6% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6e1e97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e97;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e97",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 279.669,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.18568,
    "h": 310.7
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#6E1E97
secondary
#77C051
accent
#EA3E78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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