#6C1893#6C1893

#6C1893 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.5% C 0.187 H 311.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6C1893
RGBrgb(108, 24, 147)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 58%)
CMYKcmyk(26.5%, 83.7%, 0%, 42.4%)
CIE-LABlab(29.28, 54.09, -49.30)
CIE-LCHlch(29.28, 73.18, 317.65°)
OKLaboklab(41.5% 0.124 -0.1398)
OKLCHoklch(41.5% 0.187 311.6)
XYZxyz(11.7764, 5.9483, 28.1259)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1893 #3F9318
analogous
#2F1893 #6C1893 #93187C
triadic
#6C1893 #936C18 #18936C
tetradic
#6C1893 #932F18 #3F9318 #187C93
square
#6C1893 #932F18 #3F9318 #187C93
split-complementary
#6C1893 #7C9318 #18932F
monochromatic
#1F072A #450F5E #6C1893 #9321C8 #AF45E1

Accessibility & contrast

On white

9.59
#6C1893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6C1893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1893
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1893#FFFFFF#000000##FFFFFF
##6C18931.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#673857
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1893;
/* rgb */ color: rgb(108, 24, 147);
/* oklch */ color: oklch(41.5% 0.187 311.6);
Tailwind
colors: {
  custom: {
    50: '#9b61b3',
    500: '#6c1893',
    950: '#000000',
  },
}
SCSS
$custom: #6c1893;
$custom-light: #9b61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1893",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 280.976,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.1869,
    "h": 311.6
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#6C1893
secondary
#6DC245
accent
#EF3973
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1893

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

Preview Lab → · Contrast checker → · Palette generator →

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