#6B1E85#6B1E85

#6B1E85 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.168 H 315.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6B1E85
RGBrgb(107, 30, 133)
HSLhsl(285, 63%, 32%)
HSVhsv(285, 77%, 52%)
CMYKcmyk(19.5%, 77.4%, 0%, 47.8%)
CIE-LABlab(28.77, 48.92, -41.45)
CIE-LCHlch(28.77, 64.12, 319.72°)
OKLaboklab(40.77% 0.1205 -0.1168)
OKLCHoklch(40.77% 0.168 315.9)
XYZxyz(10.7606, 5.7482, 22.7284)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E85 #38851E
analogous
#371E85 #6B1E85 #851E6C
triadic
#6B1E85 #856B1E #1E856B
tetradic
#6B1E85 #85371E #38851E #1E6C85
square
#6B1E85 #85371E #38851E #1E6C85
split-complementary
#6B1E85 #6C851E #1E8537
monochromatic
#1B0721 #431353 #6B1E85 #9329B7 #B248D6

Accessibility & contrast

On white

9.77
#6B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6B1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E85
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E85#FFFFFF#000000##FFFFFF
##6B1E851.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#1C4683
Tritanopia (blue-blind)
#693550
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1e85;
/* rgb */ color: rgb(107, 30, 133);
/* oklch */ color: oklch(40.8% 0.168 315.9);
Tailwind
colors: {
  custom: {
    50: '#9963a9',
    500: '#6b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e85;
$custom-light: #9963a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e85",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 284.854,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.16782,
    "h": 315.9
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#6B1E85
secondary
#63B847
accent
#E6426B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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