#6B1E86#6B1E86

#6B1E86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.169 H 315.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6B1E86
RGBrgb(107, 30, 134)
HSLhsl(284, 63%, 32%)
HSVhsv(284, 78%, 53%)
CMYKcmyk(20.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(28.84, 49.12, -41.96)
CIE-LCHlch(28.84, 64.61, 319.50°)
OKLaboklab(40.84% 0.1203 -0.1183)
OKLCHoklch(40.84% 0.169 315.5)
XYZxyz(10.8301, 5.7760, 23.0940)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E86 #39861E
analogous
#371E86 #6B1E86 #861E6D
triadic
#6B1E86 #866B1E #1E866B
tetradic
#6B1E86 #86371E #39861E #1E6D86
square
#6B1E86 #86371E #39861E #1E6D86
split-complementary
#6B1E86 #6D861E #1E8637
monochromatic
#1B0822 #431354 #6B1E86 #9329B8 #B148D6

Accessibility & contrast

On white

9.74
#6B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1E86
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E86#FFFFFF#000000##FFFFFF
##6B1E861.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#693551
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1e86;
/* rgb */ color: rgb(107, 30, 134);
/* oklch */ color: oklch(40.8% 0.169 315.5);
Tailwind
colors: {
  custom: {
    50: '#9963aa',
    500: '#6b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e86;
$custom-light: #9963aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e86",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 284.423,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.16875,
    "h": 315.5
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#6B1E86
secondary
#65B847
accent
#E6416C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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