#6C1882#6C1882

#6C1882 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.172 H 318.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6C1882
RGBrgb(108, 24, 130)
HSLhsl(288, 69%, 30%)
HSVhsv(288, 82%, 51%)
CMYKcmyk(16.9%, 81.5%, 0%, 49%)
CIE-LABlab(27.99, 50.60, -40.82)
CIE-LCHlch(27.99, 65.02, 321.11°)
OKLaboklab(40.18% 0.1276 -0.1149)
OKLCHoklch(40.18% 0.172 318)
XYZxyz(10.5397, 5.4536, 21.6122)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1882 #2E8218
analogous
#371882 #6C1882 #821863
triadic
#6C1882 #826C18 #18826C
tetradic
#6C1882 #823718 #2E8218 #186382
square
#6C1882 #823718 #2E8218 #186382
split-complementary
#6C1882 #638218 #188237
monochromatic
#16051B #410E4E #6C1882 #9722B6 #B93ADB

Accessibility & contrast

On white

10.04
#6C1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6C1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1882
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1882#FFFFFF#000000##FFFFFF
##6C18821.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#6B304D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1882;
/* rgb */ color: rgb(108, 24, 130);
/* oklch */ color: oklch(40.2% 0.172 318.0);
Tailwind
colors: {
  custom: {
    50: '#9a60a7',
    500: '#6c1882',
    950: '#000000',
  },
}
SCSS
$custom: #6c1882;
$custom-light: #9a60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1882",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 287.547,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.17171,
    "h": 318
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#6C1882
secondary
#58B640
accent
#EC3C61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1882

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

Preview Lab → · Contrast checker → · Palette generator →

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