#6B1E8D#6B1E8D

#6B1E8D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 312.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6B1E8D
RGBrgb(107, 30, 141)
HSLhsl(282, 65%, 34%)
HSVhsv(282, 79%, 55%)
CMYKcmyk(24.1%, 78.7%, 0%, 44.7%)
CIE-LABlab(29.36, 50.61, -45.48)
CIE-LCHlch(29.36, 68.04, 318.05°)
OKLaboklab(41.37% 0.1191 -0.1287)
OKLCHoklch(41.37% 0.175 312.8)
XYZxyz(11.3345, 5.9778, 25.7509)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E8D #408D1E
analogous
#341E8D #6B1E8D #8D1E77
triadic
#6B1E8D #8D6B1E #1E8D6B
tetradic
#6B1E8D #8D341E #408D1E #1E778D
square
#6B1E8D #8D341E #408D1E #1E778D
split-complementary
#6B1E8D #778D1E #1E8D34
monochromatic
#1E0928 #45135B #6B1E8D #9129BF #AE4CD9

Accessibility & contrast

On white

9.57
#6B1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E8D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E8D#FFFFFF#000000##FFFFFF
##6B1E8D1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#673855
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1e8d;
/* rgb */ color: rgb(107, 30, 141);
/* oklch */ color: oklch(41.4% 0.175 312.8);
Tailwind
colors: {
  custom: {
    50: '#9963af',
    500: '#6b1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e8d;
$custom-light: #9963af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e8d",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 281.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.17533,
    "h": 312.8
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#6B1E8D
secondary
#6EBC4B
accent
#E84073
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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