#6D156F#6D156F

#6D156F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.159 H 327.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6D156F
RGBrgb(109, 21, 111)
HSLhsl(299, 68%, 26%)
HSVhsv(299, 81%, 44%)
CMYKcmyk(1.8%, 81.1%, 0%, 56.5%)
CIE-LABlab(26.55, 48.17, -31.04)
CIE-LCHlch(26.55, 57.31, 327.20°)
OKLaboklab(38.79% 0.1334 -0.0862)
OKLCHoklch(38.79% 0.159 327.1)
XYZxyz(9.4439, 4.9359, 15.4912)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D156F #176F15
analogous
#40156F #6D156F #6F1544
triadic
#6D156F #6F6D15 #156F6D
tetradic
#6D156F #6F4015 #176F15 #15446F
square
#6D156F #6F4015 #176F15 #15446F
split-complementary
#6D156F #446F15 #156F40
monochromatic
#19051A #3A0B3C #6D156F #A01FA2 #D228D6

Accessibility & contrast

On white

10.57
#6D156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D156F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D156F#FFFFFF#000000##FFFFFF
##6D156F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d156f;
/* rgb */ color: rgb(109, 21, 111);
/* oklch */ color: oklch(38.8% 0.159 327.1);
Tailwind
colors: {
  custom: {
    50: '#9a5e99',
    500: '#6d156f',
    950: '#000000',
  },
}
SCSS
$custom: #6d156f;
$custom-light: #9a5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6d156f",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 298.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.15886,
    "h": 327.1
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#6D156F
secondary
#3DA53A
accent
#EB3D41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D156F

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

Preview Lab → · Contrast checker → · Palette generator →

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