#6B2986#6B2986

#6B2986 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 314.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6B2986
RGBrgb(107, 41, 134)
HSLhsl(283, 53%, 34%)
HSVhsv(283, 69%, 53%)
CMYKcmyk(20.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(30.48, 44.48, -39.32)
CIE-LCHlch(30.48, 59.37, 318.52°)
OKLaboklab(42.01% 0.1086 -0.1107)
OKLCHoklch(42.01% 0.155 314.5)
XYZxyz(11.1587, 6.4333, 23.2036)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2986 #448629
analogous
#3D2986 #6B2986 #862973
triadic
#6B2986 #866B29 #29866B
tetradic
#6B2986 #863D29 #448629 #297386
square
#6B2986 #863D29 #448629 #297386
split-complementary
#6B2986 #738629 #29863D
monochromatic
#200C28 #461B57 #6B2986 #9037B5 #AC5CCD

Accessibility & contrast

On white

9.18
#6B2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2986
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2986#FFFFFF#000000##FFFFFF
##6B29861.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#693B54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2986;
/* rgb */ color: rgb(107, 41, 134);
/* oklch */ color: oklch(42.0% 0.155 314.5);
Tailwind
colors: {
  custom: {
    50: '#9868aa',
    500: '#6b2986',
    950: '#000000',
  },
}
SCSS
$custom: #6b2986;
$custom-light: #9868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2986",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 282.581,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.15503,
    "h": 314.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#6B2986
secondary
#72B358
accent
#DD4B75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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