#6E1A93#6E1A93

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

Color values

HEX#6E1A93
RGBrgb(110, 26, 147)
HSLhsl(282, 70%, 34%)
HSVhsv(282, 82%, 58%)
CMYKcmyk(25.2%, 82.3%, 0%, 42.4%)
CIE-LABlab(29.81, 53.81, -48.42)
CIE-LCHlch(29.81, 72.39, 318.02°)
OKLaboklab(41.93% 0.1253 -0.1372)
OKLCHoklch(41.93% 0.186 312.4)
XYZxyz(12.0653, 6.1607, 28.1517)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A93 #3F931A
analogous
#321A93 #6E1A93 #931A7C
triadic
#6E1A93 #936E1A #1A936E
tetradic
#6E1A93 #93321A #3F931A #1A7C93
square
#6E1A93 #93321A #3F931A #1A7C93
split-complementary
#6E1A93 #7C931A #1A9332
monochromatic
#20082B #47115F #6E1A93 #9523C7 #B149DF

Accessibility & contrast

On white

9.41
#6E1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A93
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A93#FFFFFF#000000##FFFFFF
##6E1A931.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1a93;
/* rgb */ color: rgb(110, 26, 147);
/* oklch */ color: oklch(41.9% 0.186 312.4);
Tailwind
colors: {
  custom: {
    50: '#9c62b3',
    500: '#6e1a93',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a93;
$custom-light: #9c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a93",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 281.653,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.18576,
    "h": 312.4
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#6E1A93
secondary
#6DC048
accent
#ED3B71
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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