#6C146B#6C146B

#6C146B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.156 H 328.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6C146B
RGBrgb(108, 20, 107)
HSLhsl(301, 69%, 25%)
HSVhsv(301, 81%, 42%)
CMYKcmyk(0%, 81.5%, 0.9%, 57.6%)
CIE-LABlab(26.01, 47.55, -29.33)
CIE-LCHlch(26.01, 55.87, 328.33°)
OKLaboklab(38.29% 0.1333 -0.0813)
OKLCHoklch(38.29% 0.156 328.6)
XYZxyz(9.0882, 4.7507, 14.3454)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C146B #146C15
analogous
#41146C #6C146B #6C143F
triadic
#6C146B #6B6C14 #146B6C
tetradic
#6C146B #6C4114 #146C15 #143F6C
square
#6C146B #6C4114 #146C15 #143F6C
split-complementary
#6C146B #3F6C14 #146C41
monochromatic
#1A051A #380A38 #6C146B #A01E9E #D327D1

Accessibility & contrast

On white

10.77
#6C146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6C146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C146B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C146B#FFFFFF#000000##FFFFFF
##6C146B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2E4269
Tritanopia (blue-blind)
#70233F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c146b;
/* rgb */ color: rgb(108, 20, 107);
/* oklch */ color: oklch(38.3% 0.156 328.6);
Tailwind
colors: {
  custom: {
    50: '#995e96',
    500: '#6c146b',
    950: '#000000',
  },
}
SCSS
$custom: #6c146b;
$custom-light: #995e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c146b",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 300.682,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.1561,
    "h": 328.6
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#6C146B
secondary
#39A33A
accent
#EC3E3C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C146B

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

Preview Lab → · Contrast checker → · Palette generator →

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