#6C1158#6C1158

#6C1158 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.9% C 0.145 H 339.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#6C1158
RGBrgb(108, 17, 88)
HSLhsl(313, 73%, 25%)
HSVhsv(313, 84%, 42%)
CMYKcmyk(0%, 84.3%, 18.5%, 57.6%)
CIE-LABlab(24.62, 45.36, -19.07)
CIE-LCHlch(24.62, 49.20, 337.19°)
OKLaboklab(36.95% 0.1351 -0.0517)
OKLCHoklch(36.95% 0.145 339.1)
XYZxyz(8.1465, 4.2944, 9.6305)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1158 #116C25
analogous
#53116C #6C1158 #6C112B
triadic
#6C1158 #586C11 #11586C
tetradic
#6C1158 #6C5311 #116C25 #112B6C
square
#6C1158 #6C5311 #116C25 #112B6C
split-complementary
#6C1158 #2B6C11 #116C53
monochromatic
#1A0416 #37092D #6C1158 #A11983 #D622AE

Accessibility & contrast

On white

11.30
#6C1158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6C1158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1158
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1158#FFFFFF#000000##FFFFFF
##6C11581.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#373F56
Tritanopia (blue-blind)
#731634
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1158;
/* rgb */ color: rgb(108, 17, 88);
/* oklch */ color: oklch(36.9% 0.145 339.1);
Tailwind
colors: {
  custom: {
    50: '#9a5c87',
    500: '#6c1158',
    950: '#000000',
  },
}
SCSS
$custom: #6c1158;
$custom-light: #9a5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1158",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 313.187,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.14462,
    "h": 339.1
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#6C1158
secondary
#35A44D
accent
#EF6138
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C1158

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

Preview Lab → · Contrast checker → · Palette generator →

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