#6E1E9D#6E1E9D

#6E1E9D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.191 H 308.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6E1E9D
RGBrgb(110, 30, 157)
HSLhsl(278, 68%, 37%)
HSVhsv(278, 81%, 62%)
CMYKcmyk(29.9%, 80.9%, 0%, 38.4%)
CIE-LABlab(31.06, 54.62, -52.51)
CIE-LCHlch(31.06, 75.77, 316.13°)
OKLaboklab(43.05% 0.1197 -0.1492)
OKLCHoklch(43.05% 0.191 308.7)
XYZxyz(12.9792, 6.6781, 32.4970)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E9D #4D9D1E
analogous
#2F1E9D #6E1E9D #9D1E8D
triadic
#6E1E9D #9D6E1E #1E9D6E
tetradic
#6E1E9D #9D2F1E #4D9D1E #1E8D9D
square
#6E1E9D #9D2F1E #4D9D1E #1E8D9D
split-complementary
#6E1E9D #8D9D1E #1E9D2F
monochromatic
#260A36 #4A146A #6E1E9D #9228D0 #AC57DF

Accessibility & contrast

On white

8.99
#6E1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E9D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E9D#FFFFFF#000000##FFFFFF
##6E1E9D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#673F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1e9d;
/* rgb */ color: rgb(110, 30, 157);
/* oklch */ color: oklch(43.1% 0.191 308.7);
Tailwind
colors: {
  custom: {
    50: '#9d64bb',
    500: '#6e1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e9d;
$custom-light: #9d64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e9d",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 277.795,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.1913,
    "h": 308.7
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#6E1E9D
secondary
#7DC254
accent
#EB3D7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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