#6E1870#6E1870

#6E1870 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.157 H 327.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#6E1870
RGBrgb(110, 24, 112)
HSLhsl(299, 65%, 27%)
HSVhsv(299, 79%, 44%)
CMYKcmyk(1.8%, 78.6%, 0%, 56.1%)
CIE-LABlab(27.13, 47.62, -30.76)
CIE-LCHlch(27.13, 56.69, 327.14°)
OKLaboklab(39.26% 0.1319 -0.0854)
OKLCHoklch(39.26% 0.157 327.1)
XYZxyz(9.6815, 5.1388, 15.8081)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1870 #1A7018
analogous
#421870 #6E1870 #701846
triadic
#6E1870 #706E18 #18706E
tetradic
#6E1870 #704218 #1A7018 #184670
square
#6E1870 #704218 #1A7018 #184670
split-complementary
#6E1870 #467018 #187042
monochromatic
#190519 #3D0D3E #6E1870 #A023A2 #CF30D3

Accessibility & contrast

On white

10.36
#6E1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6E1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1870
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1870#FFFFFF#000000##FFFFFF
##6E18701.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#712743
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1870;
/* rgb */ color: rgb(110, 24, 112);
/* oklch */ color: oklch(39.3% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#9b6099',
    500: '#6e1870',
    950: '#000000',
  },
}
SCSS
$custom: #6e1870;
$custom-light: #9b6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1870",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 298.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.1571,
    "h": 327.1
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#6E1870
secondary
#41A53E
accent
#E84044
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1870

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

Preview Lab → · Contrast checker → · Palette generator →

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