#6E1B94#6E1B94

#6E1B94 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.186 H 312.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6E1B94
RGBrgb(110, 27, 148)
HSLhsl(281, 69%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(25.7%, 81.8%, 0%, 42%)
CIE-LABlab(30.00, 53.70, -48.73)
CIE-LCHlch(30.00, 72.51, 317.78°)
OKLaboklab(42.09% 0.1243 -0.1381)
OKLCHoklch(42.09% 0.186 312)
XYZxyz(12.1666, 6.2373, 28.5742)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B94 #41941B
analogous
#321B94 #6E1B94 #941B7E
triadic
#6E1B94 #946E1B #1B946E
tetradic
#6E1B94 #94321B #41941B #1B7E94
square
#6E1B94 #94321B #41941B #1B7E94
split-complementary
#6E1B94 #7E941B #1B9432
monochromatic
#21082C #481260 #6E1B94 #9424C8 #B04BDE

Accessibility & contrast

On white

9.34
#6E1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6E1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B94
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B94#FFFFFF#000000##FFFFFF
##6E1B941.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#693A58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1b94;
/* rgb */ color: rgb(110, 27, 148);
/* oklch */ color: oklch(42.1% 0.186 312.0);
Tailwind
colors: {
  custom: {
    50: '#9c63b4',
    500: '#6e1b94',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b94;
$custom-light: #9c63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b94",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 281.157,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.18575,
    "h": 312
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#6E1B94
secondary
#70C04B
accent
#EC3C73
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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