#6B1E87#6B1E87

#6B1E87 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 315.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6B1E87
RGBrgb(107, 30, 135)
HSLhsl(284, 64%, 32%)
HSVhsv(284, 78%, 53%)
CMYKcmyk(20.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(28.91, 49.33, -42.47)
CIE-LCHlch(28.91, 65.10, 319.28°)
OKLaboklab(40.92% 0.1202 -0.1198)
OKLCHoklch(40.92% 0.17 315.1)
XYZxyz(10.9001, 5.8040, 23.4631)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E87 #3A871E
analogous
#371E87 #6B1E87 #871E6F
triadic
#6B1E87 #876B1E #1E876B
tetradic
#6B1E87 #87371E #3A871E #1E6F87
square
#6B1E87 #87371E #3A871E #1E6F87
split-complementary
#6B1E87 #6F871E #1E8737
monochromatic
#1C0823 #431355 #6B1E87 #9329B9 #B149D7

Accessibility & contrast

On white

9.72
#6B1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6B1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E87
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E87#FFFFFF#000000##FFFFFF
##6B1E871.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#693651
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1e87;
/* rgb */ color: rgb(107, 30, 135);
/* oklch */ color: oklch(40.9% 0.170 315.1);
Tailwind
colors: {
  custom: {
    50: '#9963ab',
    500: '#6b1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e87;
$custom-light: #9963ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e87",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 284,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.16969,
    "h": 315.1
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#6B1E87
secondary
#66B948
accent
#E7416D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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