#6F2B87#6F2B87

#6F2B87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.155 H 316.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6F2B87
RGBrgb(111, 43, 135)
HSLhsl(284, 52%, 35%)
HSVhsv(284, 68%, 53%)
CMYKcmyk(17.8%, 68.1%, 0%, 47.1%)
CIE-LABlab(31.48, 44.72, -38.31)
CIE-LCHlch(31.48, 58.89, 319.42°)
OKLaboklab(42.88% 0.1115 -0.1076)
OKLCHoklch(42.88% 0.155 316)
XYZxyz(11.7919, 6.8570, 23.6193)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2B87 #43872B
analogous
#412B87 #6F2B87 #872B71
triadic
#6F2B87 #876F2B #2B876F
tetradic
#6F2B87 #87412B #43872B #2B7187
square
#6F2B87 #87412B #43872B #2B7187
split-complementary
#6F2B87 #71872B #2B8741
monochromatic
#230D2A #491C59 #6F2B87 #953AB5 #B060CC

Accessibility & contrast

On white

8.86
#6F2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2B87
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2B87#FFFFFF#000000##FFFFFF
##6F2B871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#6D3C55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2b87;
/* rgb */ color: rgb(111, 43, 135);
/* oklch */ color: oklch(42.9% 0.155 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b6aaa',
    500: '#6f2b87',
    950: '#000000',
  },
}
SCSS
$custom: #6f2b87;
$custom-light: #9b6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2b87",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 284.348,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.1549,
    "h": 316
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#6F2B87
secondary
#72B25B
accent
#DB4D72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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