#6E1B8D#6E1B8D

#6E1B8D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.179 H 314.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6E1B8D
RGBrgb(110, 27, 141)
HSLhsl(284, 68%, 33%)
HSVhsv(284, 81%, 55%)
CMYKcmyk(22%, 80.9%, 0%, 44.7%)
CIE-LABlab(29.47, 52.24, -45.28)
CIE-LCHlch(29.47, 69.13, 319.08°)
OKLaboklab(41.55% 0.1258 -0.1279)
OKLCHoklch(41.55% 0.179 314.5)
XYZxyz(11.6292, 6.0224, 25.7440)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B8D #3A8D1B
analogous
#351B8D #6E1B8D #8D1B73
triadic
#6E1B8D #8D6E1B #1B8D6E
tetradic
#6E1B8D #8D351B #3A8D1B #1B738D
square
#6E1B8D #8D351B #3A8D1B #1B738D
split-complementary
#6E1B8D #738D1B #1B8D35
monochromatic
#1E0726 #46115A #6E1B8D #9625C0 #B347DC

Accessibility & contrast

On white

9.53
#6E1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B8D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B8D#FFFFFF#000000##FFFFFF
##6E1B8D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#6B3654
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1b8d;
/* rgb */ color: rgb(110, 27, 141);
/* oklch */ color: oklch(41.5% 0.179 314.5);
Tailwind
colors: {
  custom: {
    50: '#9c62af',
    500: '#6e1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b8d;
$custom-light: #9c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b8d",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 283.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.17939,
    "h": 314.5
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#6E1B8D
secondary
#67BD46
accent
#EB3D6C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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