#6E1BA5#6E1BA5

#6E1BA5 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.201 H 306.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6E1BA5
RGBrgb(110, 27, 165)
HSLhsl(276, 72%, 38%)
HSVhsv(276, 84%, 65%)
CMYKcmyk(33.3%, 83.6%, 0%, 35.3%)
CIE-LABlab(31.38, 57.36, -56.84)
CIE-LCHlch(31.38, 80.75, 315.26°)
OKLaboklab(43.48% 0.1197 -0.1619)
OKLCHoklch(43.48% 0.201 306.5)
XYZxyz(13.6124, 6.8156, 36.1884)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1BA5 #52A51B
analogous
#291BA5 #6E1BA5 #A51B97
triadic
#6E1BA5 #A56E1B #1BA56E
tetradic
#6E1BA5 #A5291B #52A51B #1B97A5
square
#6E1BA5 #A5291B #52A51B #1B97A5
split-complementary
#6E1BA5 #97A51B #1BA529
monochromatic
#280A3C #4B1270 #6E1BA5 #9124DA #AB57E3

Accessibility & contrast

On white

8.89
#6E1BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E1BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1BA5
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1BA5#FFFFFF#000000##FFFFFF
##6E1BA51.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#644162
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e1ba5;
/* rgb */ color: rgb(110, 27, 165);
/* oklch */ color: oklch(43.5% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#9d64c1',
    500: '#6e1ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6e1ba5;
$custom-light: #9d64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1ba5",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 165
  },
  "hsl": {
    "h": 276.087,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.20138,
    "h": 306.5
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#6E1BA5
secondary
#82C755
accent
#EF3981
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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