#6E118E#6E118E

#6E118E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.189 H 314.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6E118E
RGBrgb(110, 17, 142)
HSLhsl(285, 79%, 31%)
HSVhsv(285, 88%, 56%)
CMYKcmyk(22.5%, 88%, 0%, 44.3%)
CIE-LABlab(28.56, 55.31, -47.37)
CIE-LCHlch(28.56, 72.82, 319.42°)
OKLaboklab(40.94% 0.1326 -0.134)
OKLCHoklch(40.94% 0.189 314.7)
XYZxyz(11.5125, 5.6693, 26.0738)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E118E #318E11
analogous
#2F118E #6E118E #8E116F
triadic
#6E118E #8E6E11 #118E6E
tetradic
#6E118E #8E2F11 #318E11 #116F8E
square
#6E118E #8E2F11 #318E11 #116F8E
split-complementary
#6E118E #6F8E11 #118E2F
monochromatic
#190421 #440A57 #6E118E #9818C5 #B933E7

Accessibility & contrast

On white

9.84
#6E118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E118E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E118E#FFFFFF#000000##FFFFFF
##6E118E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#01458C
Tritanopia (blue-blind)
#6B3353
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e118e;
/* rgb */ color: rgb(110, 17, 142);
/* oklch */ color: oklch(40.9% 0.189 314.7);
Tailwind
colors: {
  custom: {
    50: '#9c5fb0',
    500: '#6e118e',
    950: '#000000',
  },
}
SCSS
$custom: #6e118e;
$custom-light: #9c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e118e",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 284.64,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.18855,
    "h": 314.7
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#6E118E
secondary
#5CC238
accent
#F53364
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E118E

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

Preview Lab → · Contrast checker → · Palette generator →

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