#6E1893#6E1893

#6E1893 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.188 H 312.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6E1893
RGBrgb(110, 24, 147)
HSLhsl(282, 72%, 34%)
HSVhsv(282, 84%, 58%)
CMYKcmyk(25.2%, 83.7%, 0%, 42.4%)
CIE-LABlab(29.60, 54.43, -48.77)
CIE-LCHlch(29.60, 73.08, 318.14°)
OKLaboklab(41.79% 0.1268 -0.1382)
OKLCHoklch(41.79% 0.188 312.5)
XYZxyz(12.0225, 6.0752, 28.1374)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1893 #3D9318
analogous
#301893 #6E1893 #93187A
triadic
#6E1893 #936E18 #18936E
tetradic
#6E1893 #933018 #3D9318 #187A93
square
#6E1893 #933018 #3D9318 #187A93
split-complementary
#6E1893 #7A9318 #189330
monochromatic
#1F072A #470F5E #6E1893 #9521C8 #B245E1

Accessibility & contrast

On white

9.48
#6E1893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1893
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1893#FFFFFF#000000##FFFFFF
##6E18931.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#6A3857
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1893;
/* rgb */ color: rgb(110, 24, 147);
/* oklch */ color: oklch(41.8% 0.188 312.5);
Tailwind
colors: {
  custom: {
    50: '#9c62b3',
    500: '#6e1893',
    950: '#000000',
  },
}
SCSS
$custom: #6e1893;
$custom-light: #9c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1893",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 281.951,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.18751,
    "h": 312.5
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#6E1893
secondary
#6BC245
accent
#EF3970
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1893

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

Preview Lab → · Contrast checker → · Palette generator →

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