#6E1B9B#6E1B9B

#6E1B9B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.192 H 309.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6E1B9B
RGBrgb(110, 27, 155)
HSLhsl(279, 70%, 36%)
HSVhsv(279, 83%, 61%)
CMYKcmyk(29%, 82.6%, 0%, 39.2%)
CIE-LABlab(30.56, 55.19, -52.12)
CIE-LCHlch(30.56, 75.91, 316.64°)
OKLaboklab(42.65% 0.1225 -0.148)
OKLCHoklch(42.65% 0.192 309.6)
XYZxyz(12.7375, 6.4657, 31.5810)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B9B #489B1B
analogous
#2E1B9B #6E1B9B #9B1B88
triadic
#6E1B9B #9B6E1B #1B9B6E
tetradic
#6E1B9B #9B2E1B #489B1B #1B889B
square
#6E1B9B #9B2E1B #489B1B #1B889B
split-complementary
#6E1B9B #889B1B #1B9B2E
monochromatic
#240933 #491267 #6E1B9B #9324CF #AE50E0

Accessibility & contrast

On white

9.16
#6E1B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1B9B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B9B#FFFFFF#000000##FFFFFF
##6E1B9B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1b9b;
/* rgb */ color: rgb(110, 27, 155);
/* oklch */ color: oklch(42.7% 0.192 309.6);
Tailwind
colors: {
  custom: {
    50: '#9d63b9',
    500: '#6e1b9b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b9b;
$custom-light: #9d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b9b",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 278.906,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.19216,
    "h": 309.6
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#6E1B9B
secondary
#78C34F
accent
#ED3B79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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