#6E1CA1#6E1CA1

#6E1CA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.2% C 0.197 H 307.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6E1CA1
RGBrgb(110, 28, 161)
HSLhsl(277, 70%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(31.7%, 82.6%, 0%, 36.9%)
CIE-LABlab(31.16, 56.17, -54.79)
CIE-LCHlch(31.16, 78.46, 315.71°)
OKLaboklab(43.22% 0.1202 -0.1559)
OKLCHoklch(43.22% 0.197 307.6)
XYZxyz(13.2773, 6.7189, 34.3087)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1CA1 #4FA11C
analogous
#2B1CA1 #6E1CA1 #A11C92
triadic
#6E1CA1 #A16E1C #1CA16E
tetradic
#6E1CA1 #A12B1C #4FA11C #1C92A1
square
#6E1CA1 #A12B1C #4FA11C #1C92A1
split-complementary
#6E1CA1 #92A11C #1CA12B
monochromatic
#270A39 #4A136D #6E1CA1 #9225D5 #AC56E2

Accessibility & contrast

On white

8.96
#6E1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1CA1
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1CA1#FFFFFF#000000##FFFFFF
##6E1CA11.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1ca1;
/* rgb */ color: rgb(110, 28, 161);
/* oklch */ color: oklch(43.2% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#9d64be',
    500: '#6e1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6e1ca1;
$custom-light: #9d64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1ca1",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 276.992,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.19684,
    "h": 307.6
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#6E1CA1
secondary
#7FC554
accent
#ED3B7F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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