#6C108D#6C108D

#6C108D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.188 H 314.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6C108D
RGBrgb(108, 16, 141)
HSLhsl(284, 80%, 31%)
HSVhsv(284, 89%, 55%)
CMYKcmyk(23.4%, 88.7%, 0%, 44.7%)
CIE-LABlab(28.07, 55.02, -47.57)
CIE-LCHlch(28.07, 72.73, 319.15°)
OKLaboklab(40.5% 0.1308 -0.1347)
OKLCHoklch(40.5% 0.188 314.2)
XYZxyz(11.1765, 5.4822, 25.6636)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C108D #318D10
analogous
#2D108D #6C108D #8D106F
triadic
#6C108D #8D6C10 #108D6C
tetradic
#6C108D #8D2D10 #318D10 #106F8D
square
#6C108D #8D2D10 #318D10 #106F8D
split-complementary
#6C108D #6F8D10 #108D2D
monochromatic
#18041F #420A56 #6C108D #9616C4 #B730E7

Accessibility & contrast

On white

10.02
#6C108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C108D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C108D#FFFFFF#000000##FFFFFF
##6C108D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#693252
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c108d;
/* rgb */ color: rgb(108, 16, 141);
/* oklch */ color: oklch(40.5% 0.188 314.2);
Tailwind
colors: {
  custom: {
    50: '#9b5eaf',
    500: '#6c108d',
    950: '#000000',
  },
}
SCSS
$custom: #6c108d;
$custom-light: #9b5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c108d",
  "rgb": {
    "r": 108,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 284.16,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.18774,
    "h": 314.2
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#6C108D
secondary
#5CC237
accent
#F63266
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0F0510
muted
#7E797F

Preview Lab

Preview with #6C108D

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

Preview Lab → · Contrast checker → · Palette generator →

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