#6A108E#6A108E

#6A108E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.3% C 0.188 H 312.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6A108E
RGBrgb(106, 16, 142)
HSLhsl(283, 80%, 31%)
HSVhsv(283, 89%, 56%)
CMYKcmyk(25.4%, 88.7%, 0%, 44.3%)
CIE-LABlab(27.81, 54.89, -48.61)
CIE-LCHlch(27.81, 73.32, 318.47°)
OKLaboklab(40.28% 0.1278 -0.1378)
OKLCHoklch(40.28% 0.188 312.9)
XYZxyz(11.0107, 5.3881, 26.0459)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A108E #348E10
analogous
#2B108E #6A108E #8E1073
triadic
#6A108E #8E6A10 #108E6A
tetradic
#6A108E #8E2B10 #348E10 #10738E
square
#6A108E #8E2B10 #348E10 #10738E
split-complementary
#6A108E #738E10 #108E2B
monochromatic
#180420 #410A57 #6A108E #9316C5 #B331E8

Accessibility & contrast

On white

10.11
#6A108E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A108E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A108E#FFFFFF#000000##FFFFFF
##6A108E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#663353
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a108e;
/* rgb */ color: rgb(106, 16, 142);
/* oklch */ color: oklch(40.3% 0.188 312.9);
Tailwind
colors: {
  custom: {
    50: '#995eb0',
    500: '#6a108e',
    950: '#000000',
  },
}
SCSS
$custom: #6a108e;
$custom-light: #995eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a108e",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 142
  },
  "hsl": {
    "h": 282.857,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.18798,
    "h": 312.9
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#6A108E
secondary
#5FC337
accent
#F6326A
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #6A108E

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

Preview Lab → · Contrast checker → · Palette generator →

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