#6E1B9C#6E1B9C

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

Color values

HEX#6E1B9C
RGBrgb(110, 27, 156)
HSLhsl(279, 70%, 36%)
HSVhsv(279, 83%, 61%)
CMYKcmyk(29.5%, 82.7%, 0%, 38.8%)
CIE-LABlab(30.64, 55.40, -52.59)
CIE-LCHlch(30.64, 76.39, 316.49°)
OKLaboklab(42.73% 0.1223 -0.1494)
OKLCHoklch(42.73% 0.193 309.3)
XYZxyz(12.8219, 6.4994, 32.0251)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B9C #499C1B
analogous
#2E1B9C #6E1B9C #9C1B89
triadic
#6E1B9C #9C6E1B #1B9C6E
tetradic
#6E1B9C #9C2E1B #499C1B #1B899C
square
#6E1B9C #9C2E1B #499C1B #1B899C
split-complementary
#6E1B9C #899C1B #1B9C2E
monochromatic
#240934 #491268 #6E1B9C #9324D0 #AD51E1

Accessibility & contrast

On white

9.13
#6E1B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1B9C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B9C#FFFFFF#000000##FFFFFF
##6E1B9C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#673D5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1b9c;
/* rgb */ color: rgb(110, 27, 156);
/* oklch */ color: oklch(42.7% 0.193 309.3);
Tailwind
colors: {
  custom: {
    50: '#9d63ba',
    500: '#6e1b9c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b9c;
$custom-light: #9d63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b9c",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 156
  },
  "hsl": {
    "h": 278.605,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.19309,
    "h": 309.3
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#6E1B9C
secondary
#79C34F
accent
#ED3B7A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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