#6E188D#6E188D

#6E188D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.182 H 314.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6E188D
RGBrgb(110, 24, 141)
HSLhsl(284, 71%, 32%)
HSVhsv(284, 83%, 55%)
CMYKcmyk(22%, 83%, 0%, 44.7%)
CIE-LABlab(29.14, 53.20, -45.81)
CIE-LCHlch(29.14, 70.21, 319.27°)
OKLaboklab(41.32% 0.1281 -0.1295)
OKLCHoklch(41.32% 0.182 314.7)
XYZxyz(11.5640, 5.8918, 25.7222)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E188D #378D18
analogous
#34188D #6E188D #8D1871
triadic
#6E188D #8D6E18 #188D6E
tetradic
#6E188D #8D3418 #378D18 #18718D
square
#6E188D #8D3418 #378D18 #18718D
split-complementary
#6E188D #718D18 #188D34
monochromatic
#1C0624 #450F59 #6E188D #9721C1 #B541DF

Accessibility & contrast

On white

9.64
#6E188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E188D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E188D#FFFFFF#000000##FFFFFF
##6E188D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#6B3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e188d;
/* rgb */ color: rgb(110, 24, 141);
/* oklch */ color: oklch(41.3% 0.182 314.7);
Tailwind
colors: {
  custom: {
    50: '#9c61af',
    500: '#6e188d',
    950: '#000000',
  },
}
SCSS
$custom: #6e188d;
$custom-light: #9c61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e188d",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 284.103,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.18217,
    "h": 314.7
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#6E188D
secondary
#63BF42
accent
#EE3A6A
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6E188D

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

Preview Lab → · Contrast checker → · Palette generator →

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