#6E157F#6E157F

#6E157F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.173 H 320.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6E157F
RGBrgb(110, 21, 127)
HSLhsl(290, 72%, 29%)
HSVhsv(290, 83%, 50%)
CMYKcmyk(13.4%, 83.5%, 0%, 50.2%)
CIE-LABlab(27.80, 51.33, -39.22)
CIE-LCHlch(27.80, 64.60, 322.62°)
OKLaboklab(40.05% 0.133 -0.1101)
OKLCHoklch(40.05% 0.173 320.4)
XYZxyz(10.5289, 5.3842, 20.5592)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E157F #267F15
analogous
#39157F #6E157F #7F155B
triadic
#6E157F #7F6E15 #157F6E
tetradic
#6E157F #7F3915 #267F15 #155B7F
square
#6E157F #7F3915 #267F15 #155B7F
split-complementary
#6E157F #5B7F15 #157F39
monochromatic
#17041A #410C4A #6E157F #9B1EB4 #C131DD

Accessibility & contrast

On white

10.11
#6E157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6E157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E157F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E157F#FFFFFF#000000##FFFFFF
##6E157F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#6E2D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e157f;
/* rgb */ color: rgb(110, 21, 127);
/* oklch */ color: oklch(40.1% 0.173 320.4);
Tailwind
colors: {
  custom: {
    50: '#9b5fa5',
    500: '#6e157f',
    950: '#000000',
  },
}
SCSS
$custom: #6e157f;
$custom-light: #9b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e157f",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 290.377,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.17267,
    "h": 320.4
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#6E157F
secondary
#4FB43C
accent
#EE3956
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E157F

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

Preview Lab → · Contrast checker → · Palette generator →

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