#6B108D#6B108D

#6B108D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.4% C 0.187 H 313.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6B108D
RGBrgb(107, 16, 141)
HSLhsl(284, 80%, 31%)
HSVhsv(284, 89%, 55%)
CMYKcmyk(24.1%, 88.7%, 0%, 44.7%)
CIE-LABlab(27.90, 54.85, -47.85)
CIE-LCHlch(27.90, 72.79, 318.90°)
OKLaboklab(40.35% 0.1295 -0.1355)
OKLCHoklch(40.35% 0.187 313.7)
XYZxyz(11.0556, 5.4199, 25.6579)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B108D #328D10
analogous
#2C108D #6B108D #8D1070
triadic
#6B108D #8D6B10 #108D6B
tetradic
#6B108D #8D2C10 #328D10 #10708D
square
#6B108D #8D2C10 #328D10 #10708D
split-complementary
#6B108D #708D10 #108D2C
monochromatic
#18041F #410A56 #6B108D #9516C4 #B630E7

Accessibility & contrast

On white

10.08
#6B108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6B108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B108D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B108D#FFFFFF#000000##FFFFFF
##6B108D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b108d;
/* rgb */ color: rgb(107, 16, 141);
/* oklch */ color: oklch(40.4% 0.187 313.7);
Tailwind
colors: {
  custom: {
    50: '#9a5eaf',
    500: '#6b108d',
    950: '#000000',
  },
}
SCSS
$custom: #6b108d;
$custom-light: #9a5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b108d",
  "rgb": {
    "r": 107,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 283.68,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.18742,
    "h": 313.7
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#6B108D
secondary
#5DC237
accent
#F63267
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0F0510
muted
#7E797F

Preview Lab

Preview with #6B108D

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

Preview Lab → · Contrast checker → · Palette generator →

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