#6E1995#6E1995

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

Color values

HEX#6E1995
RGBrgb(110, 25, 149)
HSLhsl(281, 71%, 34%)
HSVhsv(281, 83%, 58%)
CMYKcmyk(26.2%, 83.2%, 0%, 41.6%)
CIE-LABlab(29.86, 54.54, -49.57)
CIE-LCHlch(29.86, 73.71, 317.73°)
OKLaboklab(42.02% 0.1255 -0.1405)
OKLCHoklch(42.02% 0.188 311.8)
XYZxyz(12.2018, 6.1805, 28.9781)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1995 #409519
analogous
#301995 #6E1995 #95197E
triadic
#6E1995 #956E19 #19956E
tetradic
#6E1995 #953019 #409519 #197E95
square
#6E1995 #953019 #409519 #197E95
split-complementary
#6E1995 #7E9519 #199530
monochromatic
#21072C #471061 #6E1995 #9522C9 #B048E0

Accessibility & contrast

On white

9.39
#6E1995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1995
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1995#FFFFFF#000000##FFFFFF
##6E19951.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#693959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1995;
/* rgb */ color: rgb(110, 25, 149);
/* oklch */ color: oklch(42.0% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6e1995',
    950: '#000000',
  },
}
SCSS
$custom: #6e1995;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1995",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 281.129,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42017,
    "c": 0.18845,
    "h": 311.8
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#6E1995
secondary
#6EC248
accent
#EE3A72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1995

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

Preview Lab → · Contrast checker → · Palette generator →

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