#6B2F87#6B2F87

#6B2F87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.147 H 313.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6B2F87
RGBrgb(107, 47, 135)
HSLhsl(281, 48%, 36%)
HSVhsv(281, 65%, 53%)
CMYKcmyk(20.7%, 65.2%, 0%, 47.1%)
CIE-LABlab(31.60, 41.80, -38.15)
CIE-LCHlch(31.60, 56.59, 317.61°)
OKLaboklab(42.84% 0.1012 -0.1073)
OKLCHoklch(42.84% 0.147 313.3)
XYZxyz(11.4523, 6.9084, 23.6472)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F87 #4B872F
analogous
#3F2F87 #6B2F87 #872F77
triadic
#6B2F87 #876B2F #2F876B
tetradic
#6B2F87 #873F2F #4B872F #2F7787
square
#6B2F87 #873F2F #4B872F #2F7787
split-complementary
#6B2F87 #77872F #2F873F
monochromatic
#230F2C #471F5A #6B2F87 #8F3FB4 #AA66CA

Accessibility & contrast

On white

8.82
#6B2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B2F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F87
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F87#FFFFFF#000000##FFFFFF
##6B2F871.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#684056
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2f87;
/* rgb */ color: rgb(107, 47, 135);
/* oklch */ color: oklch(42.8% 0.147 313.3);
Tailwind
colors: {
  custom: {
    50: '#986caa',
    500: '#6b2f87',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f87;
$custom-light: #986caa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f87",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 280.909,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.14745,
    "h": 313.3
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#6B2F87
secondary
#7AB161
accent
#D8507B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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