#6E1B7B#6E1B7B

#6E1B7B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.163 H 321.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6E1B7B
RGBrgb(110, 27, 123)
HSLhsl(292, 64%, 29%)
HSVhsv(292, 78%, 48%)
CMYKcmyk(10.6%, 78%, 0%, 51.8%)
CIE-LABlab(28.19, 48.64, -36.06)
CIE-LCHlch(28.19, 60.55, 323.44°)
OKLaboklab(40.24% 0.1284 -0.1009)
OKLCHoklch(40.24% 0.163 321.8)
XYZxyz(10.3971, 5.5295, 19.2547)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B7B #287B1B
analogous
#3E1B7B #6E1B7B #7B1B58
triadic
#6E1B7B #7B6E1B #1B7B6E
tetradic
#6E1B7B #7B3E1B #287B1B #1B587B
square
#6E1B7B #7B3E1B #287B1B #1B587B
split-complementary
#6E1B7B #587B1B #1B7B3E
monochromatic
#160619 #411049 #6E1B7B #9B26AD #C03CD4

Accessibility & contrast

On white

9.97
#6E1B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E1B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B7B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B7B#FFFFFF#000000##FFFFFF
##6E1B7B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#284679
Tritanopia (blue-blind)
#6F2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1b7b;
/* rgb */ color: rgb(110, 27, 123);
/* oklch */ color: oklch(40.2% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#9b61a2',
    500: '#6e1b7b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b7b;
$custom-light: #9b61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b7b",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 291.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.16327,
    "h": 321.8
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#6E1B7B
secondary
#51AF43
accent
#E74157
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6E1B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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