#6A186B#6A186B

#6A186B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.151 H 327.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6A186B
RGBrgb(106, 24, 107)
HSLhsl(299, 63%, 26%)
HSVhsv(299, 78%, 42%)
CMYKcmyk(0.9%, 77.6%, 0%, 58%)
CIE-LABlab(26.10, 45.80, -29.22)
CIE-LCHlch(26.10, 54.33, 327.46°)
OKLaboklab(38.28% 0.1273 -0.081)
OKLCHoklch(38.28% 0.151 327.5)
XYZxyz(8.9242, 4.7796, 14.3596)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A186B #196B18
analogous
#40186B #6A186B #6B1842
triadic
#6A186B #6B6A18 #186B6A
tetradic
#6A186B #6B4018 #196B18 #18426B
square
#6A186B #6B4018 #196B18 #18426B
split-complementary
#6A186B #426B18 #186B40
monochromatic
#190619 #380D39 #6A186B #9C239D #CD2ECF

Accessibility & contrast

On white

10.74
#6A186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6A186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A186B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A186B#FFFFFF#000000##FFFFFF
##6A186B1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#2E4169
Tritanopia (blue-blind)
#6D2540
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a186b;
/* rgb */ color: rgb(106, 24, 107);
/* oklch */ color: oklch(38.3% 0.151 327.5);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6a186b',
    950: '#000000',
  },
}
SCSS
$custom: #6a186b;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a186b",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 299.277,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.15089,
    "h": 327.5
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#6A186B
secondary
#3FA13E
accent
#E64143
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A186B

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

Preview Lab → · Contrast checker → · Palette generator →

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