#6B1E8F#6B1E8F

#6B1E8F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.177 H 312.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6B1E8F
RGBrgb(107, 30, 143)
HSLhsl(281, 65%, 34%)
HSVhsv(281, 79%, 56%)
CMYKcmyk(25.2%, 79%, 0%, 43.9%)
CIE-LABlab(29.51, 51.04, -46.47)
CIE-LCHlch(29.51, 69.03, 317.68°)
OKLaboklab(41.53% 0.1187 -0.1316)
OKLCHoklch(41.53% 0.177 312.1)
XYZxyz(11.4847, 6.0378, 26.5417)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E8F #428F1E
analogous
#331E8F #6B1E8F #8F1E7B
triadic
#6B1E8F #8F6B1E #1E8F6B
tetradic
#6B1E8F #8F331E #428F1E #1E7B8F
square
#6B1E8F #8F331E #428F1E #1E7B8F
split-complementary
#6B1E8F #7B8F1E #1E8F33
monochromatic
#1F092A #45135C #6B1E8F #9129C2 #AD4EDA

Accessibility & contrast

On white

9.51
#6B1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1E8F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E8F#FFFFFF#000000##FFFFFF
##6B1E8F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#673956
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1e8f;
/* rgb */ color: rgb(107, 30, 143);
/* oklch */ color: oklch(41.5% 0.177 312.1);
Tailwind
colors: {
  custom: {
    50: '#9a63b0',
    500: '#6b1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e8f;
$custom-light: #9a63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e8f",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 280.885,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.17722,
    "h": 312.1
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#6B1E8F
secondary
#70BC4C
accent
#E84075
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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