#6E1B93#6E1B93

#6E1B93 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 312.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6E1B93
RGBrgb(110, 27, 147)
HSLhsl(282, 69%, 34%)
HSVhsv(282, 82%, 58%)
CMYKcmyk(25.2%, 81.6%, 0%, 42.4%)
CIE-LABlab(29.93, 53.49, -48.24)
CIE-LCHlch(29.93, 72.03, 317.95°)
OKLaboklab(42.01% 0.1245 -0.1366)
OKLCHoklch(42.01% 0.185 312.3)
XYZxyz(12.0878, 6.2058, 28.1592)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B93 #40931B
analogous
#321B93 #6E1B93 #931B7C
triadic
#6E1B93 #936E1B #1B936E
tetradic
#6E1B93 #93321B #40931B #1B7C93
square
#6E1B93 #93321B #40931B #1B7C93
split-complementary
#6E1B93 #7C931B #1B9332
monochromatic
#21082C #47125F #6E1B93 #9524C7 #B04BDE

Accessibility & contrast

On white

9.37
#6E1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6E1B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B93
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B93#FFFFFF#000000##FFFFFF
##6E1B931.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#014891
Tritanopia (blue-blind)
#6A3958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1b93;
/* rgb */ color: rgb(110, 27, 147);
/* oklch */ color: oklch(42.0% 0.185 312.3);
Tailwind
colors: {
  custom: {
    50: '#9c63b3',
    500: '#6e1b93',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b93;
$custom-light: #9c63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b93",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 281.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.18484,
    "h": 312.3
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#6E1B93
secondary
#6EC04A
accent
#EC3C72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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