#6C136E#6C136E

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

Color values

HEX#6C136E
RGBrgb(108, 19, 110)
HSLhsl(299, 71%, 25%)
HSVhsv(299, 83%, 43%)
CMYKcmyk(1.8%, 82.7%, 0%, 56.9%)
CIE-LABlab(26.10, 48.37, -31.13)
CIE-LCHlch(26.10, 57.52, 327.23°)
OKLaboklab(38.41% 0.134 -0.0865)
OKLCHoklch(38.41% 0.159 327.1)
XYZxyz(9.2315, 4.7804, 15.1853)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C136E #156E13
analogous
#3E136E #6C136E #6E1343
triadic
#6C136E #6E6C13 #136E6C
tetradic
#6C136E #6E3E13 #156E13 #13436E
square
#6C136E #6E3E13 #156E13 #13436E
split-complementary
#6C136E #436E13 #136E3E
monochromatic
#1A051A #390A3A #6C136E #9F1CA2 #D225D6

Accessibility & contrast

On white

10.74
#6C136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6C136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C136E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C136E#FFFFFF#000000##FFFFFF
##6C136E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#2C426C
Tritanopia (blue-blind)
#6F2441
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c136e;
/* rgb */ color: rgb(108, 19, 110);
/* oklch */ color: oklch(38.4% 0.159 327.1);
Tailwind
colors: {
  custom: {
    50: '#995e98',
    500: '#6c136e',
    950: '#000000',
  },
}
SCSS
$custom: #6c136e;
$custom-light: #995e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6c136e",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 298.681,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.15948,
    "h": 327.1
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#6C136E
secondary
#3AA538
accent
#ED3A3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C136E

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

Preview Lab → · Contrast checker → · Palette generator →

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