#6B1DB1#6B1DB1

#6B1DB1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.210 H 301.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6B1DB1
RGBrgb(107, 29, 177)
HSLhsl(272, 72%, 40%)
HSVhsv(272, 84%, 69%)
CMYKcmyk(39.5%, 83.6%, 0%, 30.6%)
CIE-LABlab(32.21, 58.97, -62.71)
CIE-LCHlch(32.21, 86.08, 313.24°)
OKLaboklab(44.28% 0.1102 -0.1793)
OKLCHoklch(44.28% 0.21 301.6)
XYZxyz(14.4366, 7.1788, 42.2115)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1DB1 #63B11D
analogous
#211DB1 #6B1DB1 #B11DAD
triadic
#6B1DB1 #B16B1D #1DB16B
tetradic
#6B1DB1 #B1211D #63B11D #1DADB1
square
#6B1DB1 #B1211D #63B11D #1DADB1
split-complementary
#6B1DB1 #ADB11D #1DB121
monochromatic
#2B0C48 #4B147C #6B1DB1 #8A2EDD #A863E5

Accessibility & contrast

On white

8.62
#6B1DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6B1DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1DB1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1DB1#FFFFFF#000000##FFFFFF
##6B1DB11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#5B486A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b1db1;
/* rgb */ color: rgb(107, 29, 177);
/* oklch */ color: oklch(44.3% 0.210 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c65c9',
    500: '#6b1db1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1db1;
$custom-light: #9c65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1db1",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 271.622,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.21043,
    "h": 301.6
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#6B1DB1
secondary
#92CA60
accent
#EF398F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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