#6E187E#6E187E

#6E187E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.169 H 320.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6E187E
RGBrgb(110, 24, 126)
HSLhsl(291, 68%, 29%)
HSVhsv(291, 81%, 49%)
CMYKcmyk(12.7%, 81%, 0%, 50.6%)
CIE-LABlab(28.05, 50.22, -38.19)
CIE-LCHlch(28.05, 63.10, 322.75°)
OKLaboklab(40.2% 0.1307 -0.1071)
OKLCHoklch(40.2% 0.169 320.7)
XYZxyz(10.5225, 5.4752, 20.2372)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E187E #287E18
analogous
#3B187E #6E187E #7E185B
triadic
#6E187E #7E6E18 #187E6E
tetradic
#6E187E #7E3B18 #287E18 #185B7E
square
#6E187E #7E3B18 #287E18 #185B7E
split-complementary
#6E187E #5B7E18 #187E3B
monochromatic
#16051A #410E4B #6E187E #9B22B1 #C037D9

Accessibility & contrast

On white

10.02
#6E187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E187E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E187E#FFFFFF#000000##FFFFFF
##6E187E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#6F2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e187e;
/* rgb */ color: rgb(110, 24, 126);
/* oklch */ color: oklch(40.2% 0.169 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b60a4',
    500: '#6e187e',
    950: '#000000',
  },
}
SCSS
$custom: #6e187e;
$custom-light: #9b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e187e",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 290.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.169,
    "h": 320.7
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#6E187E
secondary
#51B23F
accent
#EB3D58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E187E

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

Preview Lab → · Contrast checker → · Palette generator →

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