#6C137E#6C137E

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

Color values

HEX#6C137E
RGBrgb(108, 19, 126)
HSLhsl(290, 74%, 28%)
HSVhsv(290, 85%, 49%)
CMYKcmyk(14.3%, 84.9%, 0%, 50.6%)
CIE-LABlab(27.19, 51.32, -39.59)
CIE-LCHlch(27.19, 64.81, 322.35°)
OKLaboklab(39.53% 0.1322 -0.1113)
OKLCHoklch(39.53% 0.173 319.9)
XYZxyz(10.1826, 5.1608, 20.1944)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C137E #257E13
analogous
#37137E #6C137E #7E135A
triadic
#6C137E #7E6C13 #137E6C
tetradic
#6C137E #7E3713 #257E13 #135A7E
square
#6C137E #7E3713 #257E13 #135A7E
split-complementary
#6C137E #5A7E13 #137E37
monochromatic
#17041B #3E0B49 #6C137E #9A1BB3 #C12CDF

Accessibility & contrast

On white

10.33
#6C137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6C137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C137E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C137E#FFFFFF#000000##FFFFFF
##6C137E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#6C2C4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c137e;
/* rgb */ color: rgb(108, 19, 126);
/* oklch */ color: oklch(39.5% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#9a5ea4',
    500: '#6c137e',
    950: '#000000',
  },
}
SCSS
$custom: #6c137e;
$custom-light: #9a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c137e",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 289.907,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.17276,
    "h": 319.9
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#6C137E
secondary
#4EB439
accent
#F03756
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C137E

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

Preview Lab → · Contrast checker → · Palette generator →

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