#6E187F#6E187F

#6E187F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.170 H 320.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#6E187F
RGBrgb(110, 24, 127)
HSLhsl(290, 68%, 30%)
HSVhsv(290, 81%, 50%)
CMYKcmyk(13.4%, 81.1%, 0%, 50.2%)
CIE-LABlab(28.12, 50.42, -38.71)
CIE-LCHlch(28.12, 63.56, 322.48°)
OKLaboklab(40.28% 0.1306 -0.1086)
OKLCHoklch(40.28% 0.17 320.2)
XYZxyz(10.5873, 5.5011, 20.5787)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E187F #297F18
analogous
#3B187F #6E187F #7F185D
triadic
#6E187F #7F6E18 #187F6E
tetradic
#6E187F #7F3B18 #297F18 #185D7F
square
#6E187F #7F3B18 #297F18 #185D7F
split-complementary
#6E187F #5D7F18 #187F3B
monochromatic
#16051A #410E4C #6E187F #9B22B2 #BF38D9

Accessibility & contrast

On white

10.00
#6E187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E187F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E187F#FFFFFF#000000##FFFFFF
##6E187F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#6E2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e187f;
/* rgb */ color: rgb(110, 24, 127);
/* oklch */ color: oklch(40.3% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#9b61a5',
    500: '#6e187f',
    950: '#000000',
  },
}
SCSS
$custom: #6e187f;
$custom-light: #9b61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e187f",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 290.097,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.16987,
    "h": 320.2
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#6E187F
secondary
#53B33F
accent
#EB3D5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E187F

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

Preview Lab → · Contrast checker → · Palette generator →

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