#6C117E#6C117E

#6C117E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.174 H 320.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6C117E
RGBrgb(108, 17, 126)
HSLhsl(290, 76%, 28%)
HSVhsv(290, 87%, 49%)
CMYKcmyk(14.3%, 86.5%, 0%, 50.6%)
CIE-LABlab(27.01, 51.85, -39.89)
CIE-LCHlch(27.01, 65.41, 322.43°)
OKLaboklab(39.4% 0.1335 -0.1121)
OKLCHoklch(39.4% 0.174 320)
XYZxyz(10.1502, 5.0959, 20.1836)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C117E #237E11
analogous
#36117E #6C117E #7E1159
triadic
#6C117E #7E6C11 #117E6C
tetradic
#6C117E #7E3611 #237E11 #11597E
square
#6C117E #7E3611 #237E11 #11597E
split-complementary
#6C117E #597E11 #117E36
monochromatic
#17041B #3E0A48 #6C117E #9A18B4 #C327E2

Accessibility & contrast

On white

10.40
#6C117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6C117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C117E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C117E#FFFFFF#000000##FFFFFF
##6C117E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c117e;
/* rgb */ color: rgb(108, 17, 126);
/* oklch */ color: oklch(39.4% 0.174 320.0);
Tailwind
colors: {
  custom: {
    50: '#9a5ea4',
    500: '#6c117e',
    950: '#000000',
  },
}
SCSS
$custom: #6c117e;
$custom-light: #9a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c117e",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 290.092,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.17437,
    "h": 320
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#6C117E
secondary
#4BB437
accent
#F33554
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C117E

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

Preview Lab → · Contrast checker → · Palette generator →

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