#6D117E#6D117E

#6D117E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.175 H 320.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6D117E
RGBrgb(109, 17, 126)
HSLhsl(291, 76%, 28%)
HSVhsv(291, 87%, 49%)
CMYKcmyk(13.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(27.18, 52.03, -39.59)
CIE-LCHlch(27.18, 65.39, 322.73°)
OKLaboklab(39.56% 0.1348 -0.1112)
OKLCHoklch(39.56% 0.175 320.5)
XYZxyz(10.2726, 5.1590, 20.1893)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D117E #227E11
analogous
#36117E #6D117E #7E1158
triadic
#6D117E #7E6D11 #117E6D
tetradic
#6D117E #7E3611 #227E11 #11587E
square
#6D117E #7E3611 #227E11 #11587E
split-complementary
#6D117E #587E11 #117E36
monochromatic
#17041B #3E0A48 #6D117E #9C18B4 #C527E2

Accessibility & contrast

On white

10.34
#6D117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D117E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D117E#FFFFFF#000000##FFFFFF
##6D117E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d117e;
/* rgb */ color: rgb(109, 17, 126);
/* oklch */ color: oklch(39.6% 0.175 320.5);
Tailwind
colors: {
  custom: {
    50: '#9b5ea4',
    500: '#6d117e',
    950: '#000000',
  },
}
SCSS
$custom: #6d117e;
$custom-light: #9b5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d117e",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 290.642,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.17475,
    "h": 320.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#6D117E
secondary
#4AB437
accent
#F33553
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D117E

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

Preview Lab → · Contrast checker → · Palette generator →

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