#6E1B9A#6E1B9A

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

Color values

HEX#6E1B9A
RGBrgb(110, 27, 154)
HSLhsl(279, 70%, 35%)
HSVhsv(279, 82%, 60%)
CMYKcmyk(28.6%, 82.5%, 0%, 39.6%)
CIE-LABlab(30.48, 54.97, -51.64)
CIE-LCHlch(30.48, 75.42, 316.79°)
OKLaboklab(42.57% 0.1228 -0.1466)
OKLCHoklch(42.57% 0.191 309.9)
XYZxyz(12.6539, 6.4322, 31.1405)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B9A #479A1B
analogous
#2F1B9A #6E1B9A #9A1B86
triadic
#6E1B9A #9A6E1B #1B9A6E
tetradic
#6E1B9A #9A2F1B #479A1B #1B869A
square
#6E1B9A #9A2F1B #479A1B #1B869A
split-complementary
#6E1B9A #869A1B #1B9A2F
monochromatic
#240932 #491266 #6E1B9A #9324CE #AE4FE0

Accessibility & contrast

On white

9.18
#6E1B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E1B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B9A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B9A#FFFFFF#000000##FFFFFF
##6E1B9A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#683C5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1b9a;
/* rgb */ color: rgb(110, 27, 154);
/* oklch */ color: oklch(42.6% 0.191 309.9);
Tailwind
colors: {
  custom: {
    50: '#9d63b9',
    500: '#6e1b9a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b9a;
$custom-light: #9d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b9a",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 279.213,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.19125,
    "h": 309.9
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#6E1B9A
secondary
#77C34E
accent
#ED3B79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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