#6E1B9E#6E1B9E

#6E1B9E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.195 H 308.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6E1B9E
RGBrgb(110, 27, 158)
HSLhsl(278, 71%, 36%)
HSVhsv(278, 83%, 62%)
CMYKcmyk(30.4%, 82.9%, 0%, 38%)
CIE-LABlab(30.80, 55.83, -53.55)
CIE-LCHlch(30.80, 77.36, 316.20°)
OKLaboklab(42.9% 0.1217 -0.1522)
OKLCHoklch(42.9% 0.195 308.6)
XYZxyz(12.9926, 6.5677, 32.9244)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B9E #4B9E1B
analogous
#2C1B9E #6E1B9E #9E1B8D
triadic
#6E1B9E #9E6E1B #1B9E6E
tetradic
#6E1B9E #9E2C1B #4B9E1B #1B8D9E
square
#6E1B9E #9E2C1B #4B9E1B #1B8D9E
split-complementary
#6E1B9E #8D9E1B #1B9E2C
monochromatic
#250935 #4A126A #6E1B9E #9224D2 #AD52E1

Accessibility & contrast

On white

9.08
#6E1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1B9E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B9E#FFFFFF#000000##FFFFFF
##6E1B9E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#663E5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1b9e;
/* rgb */ color: rgb(110, 27, 158);
/* oklch */ color: oklch(42.9% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#9d63bc',
    500: '#6e1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b9e;
$custom-light: #9d63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b9e",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 278.015,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.19492,
    "h": 308.6
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#6E1B9E
secondary
#7BC451
accent
#EE3A7C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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