#6E1BA6#6E1BA6

#6E1BA6 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.202 H 306.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6E1BA6
RGBrgb(110, 27, 166)
HSLhsl(276, 72%, 38%)
HSVhsv(276, 84%, 65%)
CMYKcmyk(33.7%, 83.7%, 0%, 34.9%)
CIE-LABlab(31.47, 57.58, -57.31)
CIE-LCHlch(31.47, 81.24, 315.14°)
OKLaboklab(43.57% 0.1194 -0.1633)
OKLCHoklch(43.57% 0.202 306.2)
XYZxyz(13.7037, 6.8522, 36.6697)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1BA6 #53A61B
analogous
#281BA6 #6E1BA6 #A61B99
triadic
#6E1BA6 #A66E1B #1BA66E
tetradic
#6E1BA6 #A6281B #53A61B #1B99A6
square
#6E1BA6 #A6281B #53A61B #1B99A6
split-complementary
#6E1BA6 #99A61B #1BA628
monochromatic
#280A3D #4B1271 #6E1BA6 #9124DB #AB58E4

Accessibility & contrast

On white

8.86
#6E1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E1BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1BA6
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1BA6#FFFFFF#000000##FFFFFF
##6E1BA61.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#644263
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e1ba6;
/* rgb */ color: rgb(110, 27, 166);
/* oklch */ color: oklch(43.6% 0.202 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e64c1',
    500: '#6e1ba6',
    950: '#000000',
  },
}
SCSS
$custom: #6e1ba6;
$custom-light: #9e64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1ba6",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 275.827,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.2023,
    "h": 306.2
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#6E1BA6
secondary
#83C756
accent
#EF3982
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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