#6E1785#6E1785

#6E1785 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.176 H 317.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6E1785
RGBrgb(110, 23, 133)
HSLhsl(287, 71%, 31%)
HSVhsv(287, 83%, 52%)
CMYKcmyk(17.3%, 82.7%, 0%, 47.8%)
CIE-LABlab(28.44, 51.90, -41.96)
CIE-LCHlch(28.44, 66.74, 321.04°)
OKLaboklab(40.64% 0.1305 -0.1182)
OKLCHoklch(40.64% 0.176 317.8)
XYZxyz(10.9698, 5.6218, 22.6930)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1785 #2E8517
analogous
#371785 #6E1785 #851765
triadic
#6E1785 #856E17 #17856E
tetradic
#6E1785 #853717 #2E8517 #176585
square
#6E1785 #853717 #2E8517 #176585
split-complementary
#6E1785 #658517 #178537
monochromatic
#18051D #430E51 #6E1785 #9920B9 #BB3ADD

Accessibility & contrast

On white

9.89
#6E1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1785
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1785#FFFFFF#000000##FFFFFF
##6E17851.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#1B4683
Tritanopia (blue-blind)
#6D314F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1785;
/* rgb */ color: rgb(110, 23, 133);
/* oklch */ color: oklch(40.6% 0.176 317.8);
Tailwind
colors: {
  custom: {
    50: '#9c60a9',
    500: '#6e1785',
    950: '#000000',
  },
}
SCSS
$custom: #6e1785;
$custom-light: #9c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1785",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 287.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.17604,
    "h": 317.8
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#6E1785
secondary
#58B93F
accent
#ED3B60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1785

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

Preview Lab → · Contrast checker → · Palette generator →

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