#6A186A#6A186A

#6A186A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.150 H 328.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#6A186A
RGBrgb(106, 24, 106)
HSLhsl(300, 63%, 25%)
HSVhsv(300, 77%, 42%)
CMYKcmyk(0%, 77.4%, 0%, 58.4%)
CIE-LABlab(26.04, 45.62, -28.67)
CIE-LCHlch(26.04, 53.88, 327.85°)
OKLaboklab(38.22% 0.1273 -0.0795)
OKLCHoklch(38.22% 0.15 328)
XYZxyz(8.8719, 4.7587, 14.0841)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A186A #186A18
analogous
#41186A #6A186A #6A1841
triadic
#6A186A #6A6A18 #186A6A
tetradic
#6A186A #6A4118 #186A18 #18416A
square
#6A186A #6A4118 #186A18 #18416A
split-complementary
#6A186A #416A18 #186A41
monochromatic
#190619 #380D38 #6A186A #9C239C #CE2FCE

Accessibility & contrast

On white

10.76
#6A186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A186A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A186A#FFFFFF#000000##FFFFFF
##6A186A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376C
Deuteranopia (green-blind)
#2F4168
Tritanopia (blue-blind)
#6E2540
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a186a;
/* rgb */ color: rgb(106, 24, 106);
/* oklch */ color: oklch(38.2% 0.150 328.0);
Tailwind
colors: {
  custom: {
    50: '#985f95',
    500: '#6a186a',
    950: '#000000',
  },
}
SCSS
$custom: #6a186a;
$custom-light: #985f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a186a",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.15006,
    "h": 328
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#6A186A
secondary
#3EA03E
accent
#E64242
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A186A

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

Preview Lab → · Contrast checker → · Palette generator →

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