#6F1E87#6F1E87

#6F1E87 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.171 H 317.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6F1E87
RGBrgb(111, 30, 135)
HSLhsl(286, 64%, 32%)
HSVhsv(286, 78%, 53%)
CMYKcmyk(17.8%, 77.8%, 0%, 47.1%)
CIE-LABlab(29.56, 50.16, -41.40)
CIE-LCHlch(29.56, 65.03, 320.46°)
OKLaboklab(41.51% 0.1254 -0.1165)
OKLCHoklch(41.51% 0.171 317.1)
XYZxyz(11.3923, 6.0578, 23.4862)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1E87 #36871E
analogous
#3B1E87 #6F1E87 #871E6A
triadic
#6F1E87 #876F1E #1E876F
tetradic
#6F1E87 #873B1E #36871E #1E6A87
square
#6F1E87 #873B1E #36871E #1E6A87
split-complementary
#6F1E87 #6A871E #1E873B
monochromatic
#1D0823 #461355 #6F1E87 #9829B9 #B649D7

Accessibility & contrast

On white

9.50
#6F1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1E87
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1E87#FFFFFF#000000##FFFFFF
##6F1E871.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#204885
Tritanopia (blue-blind)
#6E3552
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1e87;
/* rgb */ color: rgb(111, 30, 135);
/* oklch */ color: oklch(41.5% 0.171 317.1);
Tailwind
colors: {
  custom: {
    50: '#9c63ab',
    500: '#6f1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6f1e87;
$custom-light: #9c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1e87",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 286.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.1712,
    "h": 317.1
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#6F1E87
secondary
#62B948
accent
#E74167
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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