#6E188A#6E188A

#6E188A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.180 H 315.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6E188A
RGBrgb(110, 24, 138)
HSLhsl(285, 70%, 32%)
HSVhsv(285, 83%, 54%)
CMYKcmyk(20.3%, 82.6%, 0%, 45.9%)
CIE-LABlab(28.91, 52.59, -44.32)
CIE-LCHlch(28.91, 68.77, 319.88°)
OKLaboklab(41.09% 0.1288 -0.1251)
OKLCHoklch(41.09% 0.18 315.8)
XYZxyz(11.3438, 5.8037, 24.5625)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E188A #348A18
analogous
#35188A #6E188A #8A186D
triadic
#6E188A #8A6E18 #188A6E
tetradic
#6E188A #8A3518 #348A18 #186D8A
square
#6E188A #8A3518 #348A18 #186D8A
split-complementary
#6E188A #6D8A18 #188A35
monochromatic
#1B0622 #440F56 #6E188A #9821BE #B73FDE

Accessibility & contrast

On white

9.72
#6E188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E188A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E188A#FFFFFF#000000##FFFFFF
##6E188A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#144688
Tritanopia (blue-blind)
#6C3452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e188a;
/* rgb */ color: rgb(110, 24, 138);
/* oklch */ color: oklch(41.1% 0.180 315.8);
Tailwind
colors: {
  custom: {
    50: '#9c61ad',
    500: '#6e188a',
    950: '#000000',
  },
}
SCSS
$custom: #6e188a;
$custom-light: #9c61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e188a",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 285.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.17951,
    "h": 315.8
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#6E188A
secondary
#5FBD40
accent
#ED3B66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E188A

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

Preview Lab → · Contrast checker → · Palette generator →

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