#6C1D90#6C1D90

#6C1D90 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.180 H 312.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6C1D90
RGBrgb(108, 29, 144)
HSLhsl(281, 66%, 34%)
HSVhsv(281, 80%, 56%)
CMYKcmyk(25%, 79.9%, 0%, 43.5%)
CIE-LABlab(29.62, 51.80, -46.91)
CIE-LCHlch(29.62, 69.88, 317.84°)
OKLaboklab(41.66% 0.1208 -0.1328)
OKLCHoklch(41.66% 0.18 312.3)
XYZxyz(11.6568, 6.0808, 26.9398)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D90 #41901D
analogous
#321D90 #6C1D90 #901D7B
triadic
#6C1D90 #906C1D #1D906C
tetradic
#6C1D90 #90321D #41901D #1D7B90
square
#6C1D90 #90321D #41901D #1D7B90
split-complementary
#6C1D90 #7B901D #1D9032
monochromatic
#20082A #46135D #6C1D90 #9227C3 #AE4CDB

Accessibility & contrast

On white

9.48
#6C1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D90
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D90#FFFFFF#000000##FFFFFF
##6C1D901.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#683956
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1d90;
/* rgb */ color: rgb(108, 29, 144);
/* oklch */ color: oklch(41.7% 0.180 312.3);
Tailwind
colors: {
  custom: {
    50: '#9a63b1',
    500: '#6c1d90',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d90;
$custom-light: #9a63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d90",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 281.217,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.17951,
    "h": 312.3
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#6C1D90
secondary
#6FBD4B
accent
#E93E74
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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