#6E1B8F#6E1B8F

#6E1B8F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.181 H 313.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6E1B8F
RGBrgb(110, 27, 143)
HSLhsl(283, 68%, 33%)
HSVhsv(283, 81%, 56%)
CMYKcmyk(23.1%, 81.1%, 0%, 43.9%)
CIE-LABlab(29.62, 52.65, -46.27)
CIE-LCHlch(29.62, 70.09, 318.69°)
OKLaboklab(41.7% 0.1253 -0.1308)
OKLCHoklch(41.7% 0.181 313.8)
XYZxyz(11.7794, 6.0824, 26.5348)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B8F #3C8F1B
analogous
#341B8F #6E1B8F #8F1B76
triadic
#6E1B8F #8F6E1B #1B8F6E
tetradic
#6E1B8F #8F341B #3C8F1B #1B768F
square
#6E1B8F #8F341B #3C8F1B #1B768F
split-complementary
#6E1B8F #768F1B #1B8F34
monochromatic
#1F0828 #46115C #6E1B8F #9625C2 #B248DC

Accessibility & contrast

On white

9.47
#6E1B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6E1B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B8F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B8F#FFFFFF#000000##FFFFFF
##6E1B8F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#6B3755
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1b8f;
/* rgb */ color: rgb(110, 27, 143);
/* oklch */ color: oklch(41.7% 0.181 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c63b0',
    500: '#6e1b8f',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b8f;
$custom-light: #9c63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b8f",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 282.931,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.1812,
    "h": 313.8
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#6E1B8F
secondary
#69BE48
accent
#EB3D6E
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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