#6A186F#6A186F

#6A186F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.154 H 325.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#6A186F
RGBrgb(106, 24, 111)
HSLhsl(297, 64%, 26%)
HSVhsv(297, 78%, 44%)
CMYKcmyk(4.5%, 78.4%, 0%, 56.5%)
CIE-LABlab(26.35, 46.53, -31.40)
CIE-LCHlch(26.35, 56.13, 325.99°)
OKLaboklab(38.54% 0.1272 -0.0874)
OKLCHoklch(38.54% 0.154 325.5)
XYZxyz(9.1395, 4.8657, 15.4936)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A186F #1D6F18
analogous
#3F186F #6A186F #6F1849
triadic
#6A186F #6F6A18 #186F6A
tetradic
#6A186F #6F3F18 #1D6F18 #18496F
square
#6A186F #6F3F18 #1D6F18 #18496F
split-complementary
#6A186F #496F18 #186F3F
monochromatic
#180519 #3A0D3D #6A186F #9A23A1 #C92FD2

Accessibility & contrast

On white

10.64
#6A186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A186F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A186F#FFFFFF#000000##FFFFFF
##6A186F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2B426D
Tritanopia (blue-blind)
#6D2743
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a186f;
/* rgb */ color: rgb(106, 24, 111);
/* oklch */ color: oklch(38.5% 0.154 325.5);
Tailwind
colors: {
  custom: {
    50: '#985f99',
    500: '#6a186f',
    950: '#000000',
  },
}
SCSS
$custom: #6a186f;
$custom-light: #985f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a186f",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 296.552,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38542,
    "c": 0.15429,
    "h": 325.5
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#6A186F
secondary
#44A53E
accent
#E7404A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A186F

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

Preview Lab → · Contrast checker → · Palette generator →

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