#6C1A92#6C1A92

#6C1A92 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 311.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6C1A92
RGBrgb(108, 26, 146)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 57%)
CMYKcmyk(26%, 82.2%, 0%, 42.7%)
CIE-LABlab(29.42, 53.24, -48.46)
CIE-LCHlch(29.42, 72.00, 317.69°)
OKLaboklab(41.57% 0.1228 -0.1374)
OKLCHoklch(41.57% 0.184 311.8)
XYZxyz(11.7411, 6.0026, 27.7287)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A92 #40921A
analogous
#301A92 #6C1A92 #921A7C
triadic
#6C1A92 #926C1A #1A926C
tetradic
#6C1A92 #92301A #40921A #1A7C92
square
#6C1A92 #92301A #40921A #1A7C92
split-complementary
#6C1A92 #7C921A #1A9230
monochromatic
#1F072A #46115E #6C1A92 #9223C6 #AF48DE

Accessibility & contrast

On white

9.54
#6C1A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6C1A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A92
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A92#FFFFFF#000000##FFFFFF
##6C1A921.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#673957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1a92;
/* rgb */ color: rgb(108, 26, 146);
/* oklch */ color: oklch(41.6% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#9b62b3',
    500: '#6c1a92',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a92;
$custom-light: #9b62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a92",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 281,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.18423,
    "h": 311.8
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#6C1A92
secondary
#6EC048
accent
#ED3B73
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1A92

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

Preview Lab → · Contrast checker → · Palette generator →

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