#6E1BA7#6E1BA7

#6E1BA7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.203 H 305.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6E1BA7
RGBrgb(110, 27, 167)
HSLhsl(276, 72%, 38%)
HSVhsv(276, 84%, 65%)
CMYKcmyk(34.1%, 83.8%, 0%, 34.5%)
CIE-LABlab(31.55, 57.80, -57.77)
CIE-LCHlch(31.55, 81.72, 315.01°)
OKLaboklab(43.65% 0.1191 -0.1646)
OKLCHoklch(43.65% 0.203 305.9)
XYZxyz(13.7958, 6.8890, 37.1546)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1BA7 #54A71B
analogous
#281BA7 #6E1BA7 #A71B9A
triadic
#6E1BA7 #A76E1B #1BA76E
tetradic
#6E1BA7 #A7281B #54A71B #1B9AA7
square
#6E1BA7 #A7281B #54A71B #1B9AA7
split-complementary
#6E1BA7 #9AA71B #1BA728
monochromatic
#290A3E #4B1272 #6E1BA7 #9124DC #AB58E4

Accessibility & contrast

On white

8.83
#6E1BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E1BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1BA7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1BA7#FFFFFF#000000##FFFFFF
##6E1BA71.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#634263
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e1ba7;
/* rgb */ color: rgb(110, 27, 167);
/* oklch */ color: oklch(43.7% 0.203 305.9);
Tailwind
colors: {
  custom: {
    50: '#9e64c2',
    500: '#6e1ba7',
    950: '#000000',
  },
}
SCSS
$custom: #6e1ba7;
$custom-light: #9e64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1ba7",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 275.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43652,
    "c": 0.20323,
    "h": 305.9
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#6E1BA7
secondary
#84C856
accent
#EF3983
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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