#6C1F92#6C1F92

#6C1F92 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 311.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6C1F92
RGBrgb(108, 31, 146)
HSLhsl(280, 65%, 35%)
HSVhsv(280, 79%, 57%)
CMYKcmyk(26%, 78.8%, 0%, 42.7%)
CIE-LABlab(30.02, 51.51, -47.49)
CIE-LCHlch(30.02, 70.06, 317.32°)
OKLaboklab(41.99% 0.1186 -0.1345)
OKLCHoklch(41.99% 0.179 311.4)
XYZxyz(11.8617, 6.2438, 27.7689)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1F92 #45921F
analogous
#331F92 #6C1F92 #921F7F
triadic
#6C1F92 #926C1F #1F926C
tetradic
#6C1F92 #92331F #45921F #1F7F92
square
#6C1F92 #92331F #45921F #1F7F92
split-complementary
#6C1F92 #7F921F #1F9233
monochromatic
#210A2D #471460 #6C1F92 #912AC4 #AD51DA

Accessibility & contrast

On white

9.34
#6C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1F92
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1F92#FFFFFF#000000##FFFFFF
##6C1F921.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#044890
Tritanopia (blue-blind)
#673B58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1f92;
/* rgb */ color: rgb(108, 31, 146);
/* oklch */ color: oklch(42.0% 0.179 311.4);
Tailwind
colors: {
  custom: {
    50: '#9a64b3',
    500: '#6c1f92',
    950: '#000000',
  },
}
SCSS
$custom: #6c1f92;
$custom-light: #9a64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1f92",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 280.174,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.17934,
    "h": 311.4
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#6C1F92
secondary
#74BD50
accent
#E84077
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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