#6C1B60#6C1B60

#6C1B60 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.139 H 334.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#6C1B60
RGBrgb(108, 27, 96)
HSLhsl(309, 60%, 26%)
HSVhsv(309, 75%, 42%)
CMYKcmyk(0%, 75%, 11.1%, 57.6%)
CIE-LABlab(26.21, 43.30, -21.87)
CIE-LCHlch(26.21, 48.51, 333.21°)
OKLaboklab(38.22% 0.126 -0.0598)
OKLCHoklch(38.22% 0.139 334.6)
XYZxyz(8.6877, 4.8173, 11.5363)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B60 #1B6C27
analogous
#501B6C #6C1B60 #6C1B38
triadic
#6C1B60 #606C1B #1B606C
tetradic
#6C1B60 #6C501B #1B6C27 #1B386C
square
#6C1B60 #6C501B #1B6C27 #1B386C
split-complementary
#6C1B60 #386C1B #1B6C50
monochromatic
#180616 #3B0F34 #6C1B60 #9D278C #CC35B6

Accessibility & contrast

On white

10.70
#6C1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6C1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B60
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B60#FFFFFF#000000##FFFFFF
##6C1B601.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3662
Deuteranopia (green-blind)
#37425E
Tritanopia (blue-blind)
#71223B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1b60;
/* rgb */ color: rgb(108, 27, 96);
/* oklch */ color: oklch(38.2% 0.139 334.6);
Tailwind
colors: {
  custom: {
    50: '#99608d',
    500: '#6c1b60',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b60;
$custom-light: #99608d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b60",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 308.889,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.13945,
    "h": 334.6
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#6C1B60
secondary
#42A150
accent
#E35C45
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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