#6E1895#6E1895

#6E1895 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.189 H 311.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6E1895
RGBrgb(110, 24, 149)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 58%)
CMYKcmyk(26.2%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.76, 54.85, -49.74)
CIE-LCHlch(29.76, 74.04, 317.80°)
OKLaboklab(41.95% 0.1263 -0.141)
OKLCHoklch(41.95% 0.189 311.8)
XYZxyz(12.1808, 6.1385, 28.9711)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1895 #3F9518
analogous
#301895 #6E1895 #95187E
triadic
#6E1895 #956E18 #18956E
tetradic
#6E1895 #953018 #3F9518 #187E95
square
#6E1895 #953018 #3F9518 #187E95
split-complementary
#6E1895 #7E9518 #189530
monochromatic
#20072C #471060 #6E1895 #9520CA #B146E1

Accessibility & contrast

On white

9.43
#6E1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1895
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1895#FFFFFF#000000##FFFFFF
##6E18951.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1895;
/* rgb */ color: rgb(110, 24, 149);
/* oklch */ color: oklch(41.9% 0.189 311.8);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6e1895',
    950: '#000000',
  },
}
SCSS
$custom: #6e1895;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1895",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 281.28,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.1893,
    "h": 311.8
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#6E1895
secondary
#6DC246
accent
#EF3972
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1895

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

Preview Lab → · Contrast checker → · Palette generator →

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