#6C1164#6C1164

#6C1164 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.153 H 332.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#6C1164
RGBrgb(108, 17, 100)
HSLhsl(305, 73%, 25%)
HSVhsv(305, 84%, 42%)
CMYKcmyk(0%, 84.3%, 7.4%, 57.6%)
CIE-LABlab(25.29, 47.23, -25.93)
CIE-LCHlch(25.29, 53.88, 331.24°)
OKLaboklab(37.64% 0.1358 -0.0714)
OKLCHoklch(37.64% 0.153 332.3)
XYZxyz(8.6851, 4.5099, 12.4672)
Luminance0.0451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1164 #116C19
analogous
#47116C #6C1164 #6C1137
triadic
#6C1164 #646C11 #11646C
tetradic
#6C1164 #6C4711 #116C19 #11376C
square
#6C1164 #6C4711 #116C19 #11376C
split-complementary
#6C1164 #376C11 #116C47
monochromatic
#1A0418 #370933 #6C1164 #A11995 #D622C6

Accessibility & contrast

On white

11.04
#6C1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6C1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1164
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1164#FFFFFF#000000##FFFFFF
##6C11641.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093466
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#711D3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1164;
/* rgb */ color: rgb(108, 17, 100);
/* oklch */ color: oklch(37.6% 0.153 332.3);
Tailwind
colors: {
  custom: {
    50: '#995c90',
    500: '#6c1164',
    950: '#000000',
  },
}
SCSS
$custom: #6c1164;
$custom-light: #995c90;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1164",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 305.275,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.15344,
    "h": 332.3
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#6C1164
secondary
#35A43F
accent
#EF4838
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1164

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

Preview Lab → · Contrast checker → · Palette generator →

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