#6E178F#6E178F

#6E178F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.185 H 314.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6E178F
RGBrgb(110, 23, 143)
HSLhsl(284, 72%, 33%)
HSVhsv(284, 84%, 56%)
CMYKcmyk(23.1%, 83.9%, 0%, 43.9%)
CIE-LABlab(29.19, 53.91, -46.97)
CIE-LCHlch(29.19, 71.50, 318.93°)
OKLaboklab(41.4% 0.1284 -0.1329)
OKLCHoklch(41.4% 0.185 314)
XYZxyz(11.6939, 5.9114, 26.5063)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E178F #388F17
analogous
#32178F #6E178F #8F1774
triadic
#6E178F #8F6E17 #178F6E
tetradic
#6E178F #8F3217 #388F17 #17748F
square
#6E178F #8F3217 #388F17 #17748F
split-complementary
#6E178F #748F17 #178F32
monochromatic
#1D0626 #450F5A #6E178F #971FC4 #B440E0

Accessibility & contrast

On white

9.62
#6E178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E178F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E178F#FFFFFF#000000##FFFFFF
##6E178F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#6B3655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e178f;
/* rgb */ color: rgb(110, 23, 143);
/* oklch */ color: oklch(41.4% 0.185 314.0);
Tailwind
colors: {
  custom: {
    50: '#9c61b1',
    500: '#6e178f',
    950: '#000000',
  },
}
SCSS
$custom: #6e178f;
$custom-light: #9c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e178f",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 283.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.18481,
    "h": 314
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#6E178F
secondary
#64C141
accent
#EF396B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E178F

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

Preview Lab → · Contrast checker → · Palette generator →

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