#6D137E#6D137E

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

Color values

HEX#6D137E
RGBrgb(109, 19, 126)
HSLhsl(290, 74%, 28%)
HSVhsv(290, 85%, 49%)
CMYKcmyk(13.5%, 84.9%, 0%, 50.6%)
CIE-LABlab(27.36, 51.51, -39.30)
CIE-LCHlch(27.36, 64.79, 322.65°)
OKLaboklab(39.69% 0.1334 -0.1104)
OKLCHoklch(39.69% 0.173 320.4)
XYZxyz(10.3050, 5.2239, 20.2001)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D137E #247E13
analogous
#37137E #6D137E #7E1359
triadic
#6D137E #7E6D13 #137E6D
tetradic
#6D137E #7E3713 #247E13 #13597E
square
#6D137E #7E3713 #247E13 #13597E
split-complementary
#6D137E #597E13 #137E37
monochromatic
#17041B #3F0B49 #6D137E #9B1BB3 #C32CDF

Accessibility & contrast

On white

10.27
#6D137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6D137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D137E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D137E#FFFFFF#000000##FFFFFF
##6D137E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d137e;
/* rgb */ color: rgb(109, 19, 126);
/* oklch */ color: oklch(39.7% 0.173 320.4);
Tailwind
colors: {
  custom: {
    50: '#9b5fa4',
    500: '#6d137e',
    950: '#000000',
  },
}
SCSS
$custom: #6d137e;
$custom-light: #9b5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d137e",
  "rgb": {
    "r": 109,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 290.467,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.17315,
    "h": 320.4
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#6D137E
secondary
#4DB439
accent
#F03755
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D137E

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

Preview Lab → · Contrast checker → · Palette generator →

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