#6E1A9B#6E1A9B

#6E1A9B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.193 H 309.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6E1A9B
RGBrgb(110, 26, 155)
HSLhsl(279, 71%, 35%)
HSVhsv(279, 83%, 61%)
CMYKcmyk(29%, 83.2%, 0%, 39.2%)
CIE-LABlab(30.45, 55.50, -52.29)
CIE-LCHlch(30.45, 76.26, 316.71°)
OKLaboklab(42.58% 0.1233 -0.1485)
OKLCHoklch(42.58% 0.193 309.7)
XYZxyz(12.7150, 6.4206, 31.5735)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A9B #479B1A
analogous
#2E1A9B #6E1A9B #9B1A87
triadic
#6E1A9B #9B6E1A #1A9B6E
tetradic
#6E1A9B #9B2E1A #479B1A #1A879B
square
#6E1A9B #9B2E1A #479B1A #1A879B
split-complementary
#6E1A9B #879B1A #1A9B2E
monochromatic
#240832 #491167 #6E1A9B #9323CF #AE4EE1

Accessibility & contrast

On white

9.19
#6E1A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E1A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A9B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A9B#FFFFFF#000000##FFFFFF
##6E1A9B1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#673C5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1a9b;
/* rgb */ color: rgb(110, 26, 155);
/* oklch */ color: oklch(42.6% 0.193 309.7);
Tailwind
colors: {
  custom: {
    50: '#9d63b9',
    500: '#6e1a9b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a9b;
$custom-light: #9d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a9b",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 279.07,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.19303,
    "h": 309.7
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#6E1A9B
secondary
#77C44D
accent
#EE3A79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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