#6E156F#6E156F

#6E156F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.159 H 327.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#6E156F
RGBrgb(110, 21, 111)
HSLhsl(299, 68%, 26%)
HSVhsv(299, 81%, 44%)
CMYKcmyk(0.9%, 81.1%, 0%, 56.5%)
CIE-LABlab(26.73, 48.39, -30.74)
CIE-LCHlch(26.73, 57.33, 327.57°)
OKLaboklab(38.96% 0.1346 -0.0853)
OKLCHoklch(38.96% 0.159 327.6)
XYZxyz(9.5677, 4.9997, 15.4970)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E156F #166F15
analogous
#41156F #6E156F #6F1543
triadic
#6E156F #6F6E15 #156F6E
tetradic
#6E156F #6F4115 #166F15 #15436F
square
#6E156F #6F4115 #166F15 #15436F
split-complementary
#6E156F #436F15 #156F41
monochromatic
#19051A #3B0B3C #6E156F #A11FA2 #D428D6

Accessibility & contrast

On white

10.50
#6E156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6E156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E156F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E156F#FFFFFF#000000##FFFFFF
##6E156F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#722542
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e156f;
/* rgb */ color: rgb(110, 21, 111);
/* oklch */ color: oklch(39.0% 0.159 327.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f99',
    500: '#6e156f',
    950: '#000000',
  },
}
SCSS
$custom: #6e156f;
$custom-light: #9b5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6e156f",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 299.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.15935,
    "h": 327.6
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#6E156F
secondary
#3CA53A
accent
#EB3D3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E156F

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

Preview Lab → · Contrast checker → · Palette generator →

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