#6B1E82#6B1E82

#6B1E82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.165 H 317.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6B1E82
RGBrgb(107, 30, 130)
HSLhsl(286, 63%, 31%)
HSVhsv(286, 77%, 51%)
CMYKcmyk(17.7%, 76.9%, 0%, 49%)
CIE-LABlab(28.55, 48.29, -39.92)
CIE-LCHlch(28.55, 62.66, 320.42°)
OKLaboklab(40.55% 0.1209 -0.1123)
OKLCHoklch(40.55% 0.165 317.1)
XYZxyz(10.5563, 5.6665, 21.6525)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E82 #35821E
analogous
#391E82 #6B1E82 #821E67
triadic
#6B1E82 #826B1E #1E826B
tetradic
#6B1E82 #82391E #35821E #1E6782
square
#6B1E82 #82391E #35821E #1E6782
split-complementary
#6B1E82 #67821E #1E8239
monochromatic
#19071F #421350 #6B1E82 #9429B4 #B446D4

Accessibility & contrast

On white

9.84
#6B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E82
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E82#FFFFFF#000000##FFFFFF
##6B1E821.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#204680
Tritanopia (blue-blind)
#6A334F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1e82;
/* rgb */ color: rgb(107, 30, 130);
/* oklch */ color: oklch(40.6% 0.165 317.1);
Tailwind
colors: {
  custom: {
    50: '#9963a7',
    500: '#6b1e82',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e82;
$custom-light: #9963a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e82",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 286.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.16501,
    "h": 317.1
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#6B1E82
secondary
#60B547
accent
#E64268
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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