#6E187D#6E187D

#6E187D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.168 H 321.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6E187D
RGBrgb(110, 24, 125)
HSLhsl(291, 68%, 29%)
HSVhsv(291, 81%, 49%)
CMYKcmyk(12%, 80.8%, 0%, 51%)
CIE-LABlab(27.98, 50.03, -37.67)
CIE-LCHlch(27.98, 62.63, 323.02°)
OKLaboklab(40.13% 0.1308 -0.1056)
OKLCHoklch(40.13% 0.168 321.1)
XYZxyz(10.4583, 5.4495, 19.8991)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E187D #277D18
analogous
#3C187D #6E187D #7D185A
triadic
#6E187D #7D6E18 #187D6E
tetradic
#6E187D #7D3C18 #277D18 #185A7D
square
#6E187D #7D3C18 #277D18 #185A7D
split-complementary
#6E187D #5A7D18 #187D3C
monochromatic
#17051A #410E4A #6E187D #9B22B0 #C137D9

Accessibility & contrast

On white

10.05
#6E187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E187D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E187D#FFFFFF#000000##FFFFFF
##6E187D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#6F2D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e187d;
/* rgb */ color: rgb(110, 24, 125);
/* oklch */ color: oklch(40.1% 0.168 321.1);
Tailwind
colors: {
  custom: {
    50: '#9b60a3',
    500: '#6e187d',
    950: '#000000',
  },
}
SCSS
$custom: #6e187d;
$custom-light: #9b60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e187d",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 291.089,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.16814,
    "h": 321.1
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#6E187D
secondary
#50B23F
accent
#EB3D57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E187D

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

Preview Lab → · Contrast checker → · Palette generator →

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