#6A186D#6A186D

#6A186D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.153 H 326.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6A186D
RGBrgb(106, 24, 109)
HSLhsl(298, 64%, 26%)
HSVhsv(298, 78%, 43%)
CMYKcmyk(2.8%, 78%, 0%, 57.3%)
CIE-LABlab(26.22, 46.16, -30.31)
CIE-LCHlch(26.22, 55.23, 326.71°)
OKLaboklab(38.41% 0.1272 -0.0842)
OKLCHoklch(38.41% 0.153 326.5)
XYZxyz(9.0306, 4.8222, 14.9202)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A186D #1B6D18
analogous
#3F186D #6A186D #6D1845
triadic
#6A186D #6D6A18 #186D6A
tetradic
#6A186D #6D3F18 #1B6D18 #18456D
square
#6A186D #6D3F18 #1B6D18 #18456D
split-complementary
#6A186D #456D18 #186D3F
monochromatic
#180619 #390D3B #6A186D #9B239F #CB2ED1

Accessibility & contrast

On white

10.69
#6A186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A186D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A186D#FFFFFF#000000##FFFFFF
##6A186D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#2D426B
Tritanopia (blue-blind)
#6D2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a186d;
/* rgb */ color: rgb(106, 24, 109);
/* oklch */ color: oklch(38.4% 0.153 326.5);
Tailwind
colors: {
  custom: {
    50: '#985f97',
    500: '#6a186d',
    950: '#000000',
  },
}
SCSS
$custom: #6a186d;
$custom-light: #985f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6a186d",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 297.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.15258,
    "h": 326.5
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#6A186D
secondary
#42A33E
accent
#E74147
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A186D

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

Preview Lab → · Contrast checker → · Palette generator →

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