#6D156E#6D156E

#6D156E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.158 H 327.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6D156E
RGBrgb(109, 21, 110)
HSLhsl(299, 68%, 26%)
HSVhsv(299, 81%, 43%)
CMYKcmyk(0.9%, 80.9%, 0%, 56.9%)
CIE-LABlab(26.49, 48.00, -30.50)
CIE-LCHlch(26.49, 56.87, 327.56°)
OKLaboklab(38.73% 0.1335 -0.0847)
OKLCHoklch(38.73% 0.158 327.6)
XYZxyz(9.3892, 4.9140, 15.2028)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D156E #166E15
analogous
#40156E #6D156E #6E1542
triadic
#6D156E #6E6D15 #156E6D
tetradic
#6D156E #6E4015 #166E15 #15426E
square
#6D156E #6E4015 #166E15 #15426E
split-complementary
#6D156E #426E15 #156E40
monochromatic
#19051A #3A0B3B #6D156E #A01FA1 #D329D5

Accessibility & contrast

On white

10.59
#6D156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6D156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D156E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D156E#FFFFFF#000000##FFFFFF
##6D156E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#2E426C
Tritanopia (blue-blind)
#702441
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d156e;
/* rgb */ color: rgb(109, 21, 110);
/* oklch */ color: oklch(38.7% 0.158 327.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e98',
    500: '#6d156e',
    950: '#000000',
  },
}
SCSS
$custom: #6d156e;
$custom-light: #9a5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6d156e",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 299.326,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.15804,
    "h": 327.6
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#6D156E
secondary
#3CA43A
accent
#EB3D3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D156E

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

Preview Lab → · Contrast checker → · Palette generator →

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