#6E1A94#6E1A94

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

Color values

HEX#6E1A94
RGBrgb(110, 26, 148)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(25.7%, 82.4%, 0%, 42%)
CIE-LABlab(29.89, 54.02, -48.91)
CIE-LCHlch(29.89, 72.87, 317.84°)
OKLaboklab(42.01% 0.125 -0.1386)
OKLCHoklch(42.01% 0.187 312.1)
XYZxyz(12.1441, 6.1923, 28.5667)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A94 #40941A
analogous
#311A94 #6E1A94 #941A7D
triadic
#6E1A94 #946E1A #1A946E
tetradic
#6E1A94 #94311A #40941A #1A7D94
square
#6E1A94 #94311A #40941A #1A7D94
split-complementary
#6E1A94 #7D941A #1A9431
monochromatic
#21082C #471160 #6E1A94 #9523C8 #B049DF

Accessibility & contrast

On white

9.38
#6E1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A94
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A94#FFFFFF#000000##FFFFFF
##6E1A941.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#693958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1a94;
/* rgb */ color: rgb(110, 26, 148);
/* oklch */ color: oklch(42.0% 0.187 312.1);
Tailwind
colors: {
  custom: {
    50: '#9c62b4',
    500: '#6e1a94',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a94;
$custom-light: #9c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a94",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 281.311,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.18666,
    "h": 312.1
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#6E1A94
secondary
#6EC149
accent
#ED3B72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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