#6E1B7D#6E1B7D

#6E1B7D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.165 H 320.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6E1B7D
RGBrgb(110, 27, 125)
HSLhsl(291, 64%, 30%)
HSVhsv(291, 78%, 49%)
CMYKcmyk(12%, 78.4%, 0%, 51%)
CIE-LABlab(28.33, 49.03, -37.11)
CIE-LCHlch(28.33, 61.49, 322.87°)
OKLaboklab(40.38% 0.1282 -0.104)
OKLCHoklch(40.38% 0.165 320.9)
XYZxyz(10.5236, 5.5801, 19.9208)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B7D #2A7D1B
analogous
#3D1B7D #6E1B7D #7D1B5B
triadic
#6E1B7D #7D6E1B #1B7D6E
tetradic
#6E1B7D #7D3D1B #2A7D1B #1B5B7D
square
#6E1B7D #7D3D1B #2A7D1B #1B5B7D
split-complementary
#6E1B7D #5B7D1B #1B7D3D
monochromatic
#160519 #42104B #6E1B7D #9A26AF #BE3DD5

Accessibility & contrast

On white

9.92
#6E1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B7D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B7D#FFFFFF#000000##FFFFFF
##6E1B7D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#6F2F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1b7d;
/* rgb */ color: rgb(110, 27, 125);
/* oklch */ color: oklch(40.4% 0.165 320.9);
Tailwind
colors: {
  custom: {
    50: '#9b62a3',
    500: '#6e1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b7d;
$custom-light: #9b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b7d",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 290.816,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.16504,
    "h": 320.9
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#6E1B7D
secondary
#54B143
accent
#E7405A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6E1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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