#6C1B72#6C1B72

#6C1B72 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.154 H 325.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#6C1B72
RGBrgb(108, 27, 114)
HSLhsl(296, 62%, 28%)
HSVhsv(296, 76%, 45%)
CMYKcmyk(5.3%, 76.3%, 0%, 55.3%)
CIE-LABlab(27.26, 46.48, -31.85)
CIE-LCHlch(27.26, 56.35, 325.58°)
OKLaboklab(39.32% 0.1265 -0.0887)
OKLCHoklch(39.32% 0.154 325)
XYZxyz(9.6133, 5.1875, 16.4113)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B72 #21721B
analogous
#401B72 #6C1B72 #721B4C
triadic
#6C1B72 #726C1B #1B726C
tetradic
#6C1B72 #72401B #21721B #1B4C72
square
#6C1B72 #72401B #21721B #1B4C72
split-complementary
#6C1B72 #4C721B #1B7240
monochromatic
#170619 #3D0F41 #6C1B72 #9B27A3 #C538D0

Accessibility & contrast

On white

10.31
#6C1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C1B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B72
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B72#FFFFFF#000000##FFFFFF
##6C1B721.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#2D4470
Tritanopia (blue-blind)
#6E2A45
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1b72;
/* rgb */ color: rgb(108, 27, 114);
/* oklch */ color: oklch(39.3% 0.154 325.0);
Tailwind
colors: {
  custom: {
    50: '#99619b',
    500: '#6c1b72',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b72;
$custom-light: #99619b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b72",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 295.862,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.15447,
    "h": 325
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#6C1B72
secondary
#49A742
accent
#E5434E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6C1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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