#6A107E#6A107E

#6A107E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 39.0% C 0.174 H 319.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#6A107E
RGBrgb(106, 16, 126)
HSLhsl(289, 77%, 28%)
HSVhsv(289, 87%, 49%)
CMYKcmyk(15.9%, 87.3%, 0%, 50.6%)
CIE-LABlab(26.57, 51.73, -40.61)
CIE-LCHlch(26.57, 65.77, 321.86°)
OKLaboklab(39.03% 0.1317 -0.1143)
OKLCHoklch(39.03% 0.174 319)
XYZxyz(9.8945, 4.9416, 20.1673)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A107E #247E10
analogous
#33107E #6A107E #7E105B
triadic
#6A107E #7E6A10 #107E6A
tetradic
#6A107E #7E3310 #247E10 #105B7E
square
#6A107E #7E3310 #247E10 #105B7E
split-complementary
#6A107E #5B7E10 #107E33
monochromatic
#17031B #3C0948 #6A107E #9817B4 #C125E3

Accessibility & contrast

On white

10.56
#6A107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A107E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A107E#FFFFFF#000000##FFFFFF
##6A107E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#6A2B4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a107e;
/* rgb */ color: rgb(106, 16, 126);
/* oklch */ color: oklch(39.0% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#995da4',
    500: '#6a107e',
    950: '#000000',
  },
}
SCSS
$custom: #6a107e;
$custom-light: #995da4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a107e",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 289.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.17438,
    "h": 319
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#6A107E
secondary
#4DB436
accent
#F43457
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A107E

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

Preview Lab → · Contrast checker → · Palette generator →

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