#6C1B92#6C1B92

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

Color values

HEX#6C1B92
RGBrgb(108, 27, 146)
HSLhsl(281, 69%, 34%)
HSVhsv(281, 82%, 57%)
CMYKcmyk(26%, 81.5%, 0%, 42.7%)
CIE-LABlab(29.53, 52.91, -48.28)
CIE-LCHlch(29.53, 71.63, 317.62°)
OKLaboklab(41.65% 0.122 -0.1368)
OKLCHoklch(41.65% 0.183 311.7)
XYZxyz(11.7636, 6.0477, 27.7362)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B92 #41921B
analogous
#311B92 #6C1B92 #921B7D
triadic
#6C1B92 #926C1B #1B926C
tetradic
#6C1B92 #92311B #41921B #1B7D92
square
#6C1B92 #92311B #41921B #1B7D92
split-complementary
#6C1B92 #7D921B #1B9231
monochromatic
#20082B #46115E #6C1B92 #9225C6 #AE4ADE

Accessibility & contrast

On white

9.50
#6C1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B92
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B92#FFFFFF#000000##FFFFFF
##6C1B921.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1b92;
/* rgb */ color: rgb(108, 27, 146);
/* oklch */ color: oklch(41.6% 0.183 311.7);
Tailwind
colors: {
  custom: {
    50: '#9b62b3',
    500: '#6c1b92',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b92;
$custom-light: #9b62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b92",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 280.84,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.1833,
    "h": 311.7
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#6C1B92
secondary
#6FBF49
accent
#EC3C74
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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