#6E187B#6E187B

#6E187B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.166 H 322.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#6E187B
RGBrgb(110, 24, 123)
HSLhsl(292, 67%, 29%)
HSVhsv(292, 80%, 48%)
CMYKcmyk(10.6%, 80.5%, 0%, 51.8%)
CIE-LABlab(27.84, 49.65, -36.63)
CIE-LCHlch(27.84, 61.70, 323.58°)
OKLaboklab(39.99% 0.1311 -0.1025)
OKLCHoklch(39.99% 0.166 322)
XYZxyz(10.3318, 5.3989, 19.2329)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E187B #257B18
analogous
#3D187B #6E187B #7B1857
triadic
#6E187B #7B6E18 #187B6E
tetradic
#6E187B #7B3D18 #257B18 #18577B
square
#6E187B #7B3D18 #257B18 #18577B
split-complementary
#6E187B #577B18 #187B3D
monochromatic
#17051A #400E48 #6E187B #9C22AE #C236D8

Accessibility & contrast

On white

10.10
#6E187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6E187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E187B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E187B#FFFFFF#000000##FFFFFF
##6E187B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#6F2C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e187b;
/* rgb */ color: rgb(110, 24, 123);
/* oklch */ color: oklch(40.0% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b60a2',
    500: '#6e187b',
    950: '#000000',
  },
}
SCSS
$custom: #6e187b;
$custom-light: #9b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e187b",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 292.121,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.16641,
    "h": 322
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#6E187B
secondary
#4EB03F
accent
#EA3E54
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E187B

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

Preview Lab → · Contrast checker → · Palette generator →

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