#6E1B72#6E1B72

#6E1B72 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.155 H 326.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6E1B72
RGBrgb(110, 27, 114)
HSLhsl(297, 62%, 28%)
HSVhsv(297, 76%, 45%)
CMYKcmyk(3.5%, 76.3%, 0%, 55.3%)
CIE-LABlab(27.61, 46.95, -31.27)
CIE-LCHlch(27.61, 56.41, 326.34°)
OKLaboklab(39.64% 0.1289 -0.0869)
OKLCHoklch(39.64% 0.155 326)
XYZxyz(9.8594, 5.3144, 16.4228)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B72 #1F721B
analogous
#421B72 #6E1B72 #721B4B
triadic
#6E1B72 #726E1B #1B726E
tetradic
#6E1B72 #72421B #1F721B #1B4B72
square
#6E1B72 #72421B #1F721B #1B4B72
split-complementary
#6E1B72 #4B721B #1B7242
monochromatic
#180619 #3E0F41 #6E1B72 #9E27A3 #C938D0

Accessibility & contrast

On white

10.18
#6E1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B72
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B72#FFFFFF#000000##FFFFFF
##6E1B721.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B74
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#712A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1b72;
/* rgb */ color: rgb(110, 27, 114);
/* oklch */ color: oklch(39.6% 0.155 326.0);
Tailwind
colors: {
  custom: {
    50: '#9b619b',
    500: '#6e1b72',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b72;
$custom-light: #9b619b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b72",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 297.241,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.15546,
    "h": 326
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#6E1B72
secondary
#47A742
accent
#E5434A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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