#6B186F#6B186F

#6B186F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.155 H 326.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6B186F
RGBrgb(107, 24, 111)
HSLhsl(297, 64%, 26%)
HSVhsv(297, 78%, 44%)
CMYKcmyk(3.6%, 78.4%, 0%, 56.5%)
CIE-LABlab(26.53, 46.76, -31.10)
CIE-LCHlch(26.53, 56.16, 326.37°)
OKLaboklab(38.7% 0.1284 -0.0865)
OKLCHoklch(38.7% 0.155 326)
XYZxyz(9.2591, 4.9274, 15.4992)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B186F #1C6F18
analogous
#40186F #6B186F #6F1848
triadic
#6B186F #6F6B18 #186F6B
tetradic
#6B186F #6F4018 #1C6F18 #18486F
square
#6B186F #6F4018 #1C6F18 #18486F
split-complementary
#6B186F #486F18 #186F40
monochromatic
#180519 #3A0D3D #6B186F #9C23A1 #CB2FD2

Accessibility & contrast

On white

10.58
#6B186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B186F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B186F#FFFFFF#000000##FFFFFF
##6B186F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#6E2743
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b186f;
/* rgb */ color: rgb(107, 24, 111);
/* oklch */ color: oklch(38.7% 0.155 326.0);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6b186f',
    950: '#000000',
  },
}
SCSS
$custom: #6b186f;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6b186f",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 297.241,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.15478,
    "h": 326
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#6B186F
secondary
#43A53E
accent
#E74048
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B186F

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

Preview Lab → · Contrast checker → · Palette generator →

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