#6E127E#6E127E

#6E127E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.174 H 320.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#6E127E
RGBrgb(110, 18, 126)
HSLhsl(291, 75%, 28%)
HSVhsv(291, 86%, 49%)
CMYKcmyk(12.7%, 85.7%, 0%, 50.6%)
CIE-LABlab(27.45, 51.97, -39.16)
CIE-LCHlch(27.45, 65.07, 323.00°)
OKLaboklab(39.78% 0.1353 -0.1099)
OKLCHoklch(39.78% 0.174 320.9)
XYZxyz(10.4122, 5.2546, 20.2004)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E127E #227E12
analogous
#38127E #6E127E #7E1258
triadic
#6E127E #7E6E12 #127E6E
tetradic
#6E127E #7E3812 #227E12 #12587E
square
#6E127E #7E3812 #227E12 #12587E
split-complementary
#6E127E #587E12 #127E38
monochromatic
#17041B #3F0A48 #6E127E #9D1AB4 #C52AE1

Accessibility & contrast

On white

10.24
#6E127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6E127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E127E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E127E#FFFFFF#000000##FFFFFF
##6E127E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#6F2B4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e127e;
/* rgb */ color: rgb(110, 18, 126);
/* oklch */ color: oklch(39.8% 0.174 320.9);
Tailwind
colors: {
  custom: {
    50: '#9b5ea4',
    500: '#6e127e',
    950: '#000000',
  },
}
SCSS
$custom: #6e127e;
$custom-light: #9b5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e127e",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 291.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.17435,
    "h": 320.9
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#6E127E
secondary
#4AB438
accent
#F23652
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6E127E

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

Preview Lab → · Contrast checker → · Palette generator →

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