#6C115D#6C115D

#6C115D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.148 H 336.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#6C115D
RGBrgb(108, 17, 93)
HSLhsl(310, 73%, 25%)
HSVhsv(310, 84%, 42%)
CMYKcmyk(0%, 84.3%, 13.9%, 57.6%)
CIE-LABlab(24.89, 46.12, -21.96)
CIE-LCHlch(24.89, 51.08, 334.53°)
OKLaboklab(37.23% 0.1355 -0.06)
OKLCHoklch(37.23% 0.148 336.1)
XYZxyz(8.3607, 4.3801, 10.7589)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C115D #116C20
analogous
#4E116C #6C115D #6C1130
triadic
#6C115D #5D6C11 #115D6C
tetradic
#6C115D #6C4E11 #116C20 #11306C
square
#6C115D #6C4E11 #116C20 #11306C
split-complementary
#6C115D #306C11 #116C4E
monochromatic
#1A0417 #37092F #6C115D #A1198B #D622B8

Accessibility & contrast

On white

11.20
#6C115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6C115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C115D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C115D#FFFFFF#000000##FFFFFF
##6C115D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325F
Deuteranopia (green-blind)
#34405B
Tritanopia (blue-blind)
#721937
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c115d;
/* rgb */ color: rgb(108, 17, 93);
/* oklch */ color: oklch(37.2% 0.148 336.1);
Tailwind
colors: {
  custom: {
    50: '#995c8b',
    500: '#6c115d',
    950: '#000000',
  },
}
SCSS
$custom: #6c115d;
$custom-light: #995c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c115d",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 309.89,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.37225,
    "c": 0.1482,
    "h": 336.1
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#6C115D
secondary
#35A447
accent
#EF5738
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C115D

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

Preview Lab → · Contrast checker → · Palette generator →

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