#6E1A9E#6E1A9E

#6E1A9E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.196 H 308.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6E1A9E
RGBrgb(110, 26, 158)
HSLhsl(278, 72%, 36%)
HSVhsv(278, 84%, 62%)
CMYKcmyk(30.4%, 83.5%, 0%, 38%)
CIE-LABlab(30.69, 56.15, -53.72)
CIE-LCHlch(30.69, 77.71, 316.26°)
OKLaboklab(42.82% 0.1225 -0.1527)
OKLCHoklch(42.82% 0.196 308.7)
XYZxyz(12.9701, 6.5226, 32.9169)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A9E #4A9E1A
analogous
#2C1A9E #6E1A9E #9E1A8C
triadic
#6E1A9E #9E6E1A #1A9E6E
tetradic
#6E1A9E #9E2C1A #4A9E1A #1A8C9E
square
#6E1A9E #9E2C1A #4A9E1A #1A8C9E
split-complementary
#6E1A9E #8C9E1A #1A9E2C
monochromatic
#250935 #491169 #6E1A9E #9323D3 #AD50E2

Accessibility & contrast

On white

9.11
#6E1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A9E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A9E#FFFFFF#000000##FFFFFF
##6E1A9E1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1a9e;
/* rgb */ color: rgb(110, 26, 158);
/* oklch */ color: oklch(42.8% 0.196 308.7);
Tailwind
colors: {
  custom: {
    50: '#9d63bc',
    500: '#6e1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a9e;
$custom-light: #9d63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a9e",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 278.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.19576,
    "h": 308.7
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#6E1A9E
secondary
#7AC54F
accent
#EE397B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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