#6E1BA1#6E1BA1

#6E1BA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.198 H 307.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6E1BA1
RGBrgb(110, 27, 161)
HSLhsl(277, 71%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(31.7%, 83.2%, 0%, 36.9%)
CIE-LABlab(31.05, 56.49, -54.97)
CIE-LCHlch(31.05, 78.82, 315.78°)
OKLaboklab(43.15% 0.1209 -0.1564)
OKLCHoklch(43.15% 0.198 307.7)
XYZxyz(13.2540, 6.6723, 34.3010)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1BA1 #4EA11B
analogous
#2B1BA1 #6E1BA1 #A11B91
triadic
#6E1BA1 #A16E1B #1BA16E
tetradic
#6E1BA1 #A12B1B #4EA11B #1B91A1
square
#6E1BA1 #A12B1B #4EA11B #1B91A1
split-complementary
#6E1BA1 #91A11B #1BA12B
monochromatic
#260938 #4A126D #6E1BA1 #9224D5 #AC54E2

Accessibility & contrast

On white

9.00
#6E1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6E1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1BA1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1BA1#FFFFFF#000000##FFFFFF
##6E1BA11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#654060
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1ba1;
/* rgb */ color: rgb(110, 27, 161);
/* oklch */ color: oklch(43.1% 0.198 307.7);
Tailwind
colors: {
  custom: {
    50: '#9d64be',
    500: '#6e1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #6e1ba1;
$custom-light: #9d64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1ba1",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 277.164,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.19769,
    "h": 307.7
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#6E1BA1
secondary
#7EC552
accent
#EE3A7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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