#6C1982#6C1982

#6C1982 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.171 H 317.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#6C1982
RGBrgb(108, 25, 130)
HSLhsl(287, 68%, 30%)
HSVhsv(287, 81%, 51%)
CMYKcmyk(16.9%, 80.8%, 0%, 49%)
CIE-LABlab(28.10, 50.28, -40.64)
CIE-LCHlch(28.10, 64.65, 321.05°)
OKLaboklab(40.27% 0.1268 -0.1144)
OKLCHoklch(40.27% 0.171 317.9)
XYZxyz(10.5607, 5.4956, 21.6192)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1982 #2F8219
analogous
#381982 #6C1982 #821963
triadic
#6C1982 #826C19 #19826C
tetradic
#6C1982 #823819 #2F8219 #196382
square
#6C1982 #823819 #2F8219 #196382
split-complementary
#6C1982 #638219 #198238
monochromatic
#17051B #410F4F #6C1982 #9723B5 #B83CD9

Accessibility & contrast

On white

10.00
#6C1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6C1982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1982
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1982#FFFFFF#000000##FFFFFF
##6C19821.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1982;
/* rgb */ color: rgb(108, 25, 130);
/* oklch */ color: oklch(40.3% 0.171 317.9);
Tailwind
colors: {
  custom: {
    50: '#9a61a7',
    500: '#6c1982',
    950: '#000000',
  },
}
SCSS
$custom: #6c1982;
$custom-light: #9a61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1982",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 287.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.17074,
    "h": 317.9
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#6C1982
secondary
#59B641
accent
#EB3D62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1982

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

Preview Lab → · Contrast checker → · Palette generator →

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