#6C116C#6C116C

#6C116C is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.160 H 328.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#6C116C
RGBrgb(108, 17, 108)
HSLhsl(300, 73%, 25%)
HSVhsv(300, 84%, 42%)
CMYKcmyk(0%, 84.3%, 0%, 57.6%)
CIE-LABlab(25.78, 48.58, -30.35)
CIE-LCHlch(25.78, 57.28, 328.00°)
OKLaboklab(38.15% 0.1356 -0.0842)
OKLCHoklch(38.15% 0.16 328.2)
XYZxyz(9.0915, 4.6724, 14.6075)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C116C #116C11
analogous
#3F116C #6C116C #6C113F
triadic
#6C116C #6C6C11 #116C6C
tetradic
#6C116C #6C3F11 #116C11 #113F6C
square
#6C116C #6C3F11 #116C11 #113F6C
split-complementary
#6C116C #3F6C11 #116C3F
monochromatic
#1A041A #370937 #6C116C #A119A1 #D622D6

Accessibility & contrast

On white

10.86
#6C116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6C116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C116C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C116C#FFFFFF#000000##FFFFFF
##6C116C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#70213F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c116c;
/* rgb */ color: rgb(108, 17, 108);
/* oklch */ color: oklch(38.1% 0.160 328.2);
Tailwind
colors: {
  custom: {
    50: '#9a5d96',
    500: '#6c116c',
    950: '#000000',
  },
}
SCSS
$custom: #6c116c;
$custom-light: #9a5d96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c116c",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 300,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.15966,
    "h": 328.2
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#6C116C
secondary
#35A435
accent
#EF3838
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C116C

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

Preview Lab → · Contrast checker → · Palette generator →

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