#6B2E87#6B2E87

#6B2E87 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.149 H 313.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6B2E87
RGBrgb(107, 46, 135)
HSLhsl(281, 49%, 35%)
HSVhsv(281, 66%, 53%)
CMYKcmyk(20.7%, 65.9%, 0%, 47.1%)
CIE-LABlab(31.42, 42.30, -38.45)
CIE-LCHlch(31.42, 57.16, 317.73°)
OKLaboklab(42.71% 0.1024 -0.1081)
OKLCHoklch(42.71% 0.149 313.5)
XYZxyz(11.4128, 6.8294, 23.6340)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E87 #4A872E
analogous
#3F2E87 #6B2E87 #872E76
triadic
#6B2E87 #876B2E #2E876B
tetradic
#6B2E87 #873F2E #4A872E #2E7687
square
#6B2E87 #873F2E #4A872E #2E7687
split-complementary
#6B2E87 #76872E #2E873F
monochromatic
#230F2C #471E59 #6B2E87 #8F3EB5 #AB65CA

Accessibility & contrast

On white

8.88
#6B2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E87
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E87#FFFFFF#000000##FFFFFF
##6B2E871.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#683F56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2e87;
/* rgb */ color: rgb(107, 46, 135);
/* oklch */ color: oklch(42.7% 0.149 313.5);
Tailwind
colors: {
  custom: {
    50: '#986baa',
    500: '#6b2e87',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e87;
$custom-light: #986baa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e87",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 281.124,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.14894,
    "h": 313.5
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#6B2E87
secondary
#79B160
accent
#D94F7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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