#6B1381#6B1381

#6B1381 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.175 H 318.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#6B1381
RGBrgb(107, 19, 129)
HSLhsl(288, 74%, 29%)
HSVhsv(288, 85%, 51%)
CMYKcmyk(17.1%, 85.3%, 0%, 49.4%)
CIE-LABlab(27.23, 51.71, -41.42)
CIE-LCHlch(27.23, 66.25, 321.30°)
OKLaboklab(39.6% 0.1303 -0.1167)
OKLCHoklch(39.6% 0.175 318.2)
XYZxyz(10.2582, 5.1770, 21.2235)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1381 #298113
analogous
#341381 #6B1381 #811360
triadic
#6B1381 #816B13 #13816B
tetradic
#6B1381 #813413 #298113 #136081
square
#6B1381 #813413 #298113 #136081
split-complementary
#6B1381 #608113 #138134
monochromatic
#16041B #3F0B4C #6B1381 #971BB6 #BD2EE0

Accessibility & contrast

On white

10.32
#6B1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1381
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1381#FFFFFF#000000##FFFFFF
##6B13811.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#6A2E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1381;
/* rgb */ color: rgb(107, 19, 129);
/* oklch */ color: oklch(39.6% 0.175 318.2);
Tailwind
colors: {
  custom: {
    50: '#995ea6',
    500: '#6b1381',
    950: '#000000',
  },
}
SCSS
$custom: #6b1381;
$custom-light: #995ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1381",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 288,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.17493,
    "h": 318.2
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#6B1381
secondary
#52B63A
accent
#F1375C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B1381

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

Preview Lab → · Contrast checker → · Palette generator →

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