#6B1C91#6B1C91

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

Color values

HEX#6B1C91
RGBrgb(107, 28, 145)
HSLhsl(281, 68%, 34%)
HSVhsv(281, 81%, 57%)
CMYKcmyk(26.2%, 80.7%, 0%, 43.1%)
CIE-LABlab(29.41, 52.18, -47.86)
CIE-LCHlch(29.41, 70.80, 317.47°)
OKLaboklab(41.51% 0.12 -0.1356)
OKLCHoklch(41.51% 0.181 311.5)
XYZxyz(11.5885, 6.0009, 27.3304)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C91 #42911C
analogous
#311C91 #6B1C91 #911C7D
triadic
#6B1C91 #916B1C #1C916B
tetradic
#6B1C91 #91311C #42911C #1C7D91
square
#6B1C91 #91311C #42911C #1C7D91
split-complementary
#6B1C91 #7D911C #1C9131
monochromatic
#1F082A #45125E #6B1C91 #9126C4 #AD4BDC

Accessibility & contrast

On white

9.54
#6B1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1C91
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C91#FFFFFF#000000##FFFFFF
##6B1C911.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#663957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1c91;
/* rgb */ color: rgb(107, 28, 145);
/* oklch */ color: oklch(41.5% 0.181 311.5);
Tailwind
colors: {
  custom: {
    50: '#9a63b2',
    500: '#6b1c91',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c91;
$custom-light: #9a63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c91",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 280.513,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.18112,
    "h": 311.5
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#6B1C91
secondary
#70BE4A
accent
#EB3D76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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