#6B186D#6B186D

#6B186D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.153 H 327.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#6B186D
RGBrgb(107, 24, 109)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 43%)
CMYKcmyk(1.8%, 78%, 0%, 57.3%)
CIE-LABlab(26.40, 46.39, -30.02)
CIE-LCHlch(26.40, 55.26, 327.10°)
OKLaboklab(38.57% 0.1284 -0.0833)
OKLCHoklch(38.57% 0.153 327)
XYZxyz(9.1502, 4.8838, 14.9258)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B186D #1A6D18
analogous
#40186D #6B186D #6D1844
triadic
#6B186D #6D6B18 #186D6B
tetradic
#6B186D #6D4018 #1A6D18 #18446D
square
#6B186D #6D4018 #1A6D18 #18446D
split-complementary
#6B186D #446D18 #186D40
monochromatic
#190619 #3A0D3B #6B186D #9C239F #CD2ED1

Accessibility & contrast

On white

10.62
#6B186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B186D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B186D#FFFFFF#000000##FFFFFF
##6B186D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#2E426B
Tritanopia (blue-blind)
#6E2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b186d;
/* rgb */ color: rgb(107, 24, 109);
/* oklch */ color: oklch(38.6% 0.153 327.0);
Tailwind
colors: {
  custom: {
    50: '#985f97',
    500: '#6b186d',
    950: '#000000',
  },
}
SCSS
$custom: #6b186d;
$custom-light: #985f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6b186d",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 298.588,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.15309,
    "h": 327
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#6B186D
secondary
#40A33E
accent
#E74145
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B186D

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

Preview Lab → · Contrast checker → · Palette generator →

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