#6D1BAD#6D1BAD

#6D1BAD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.209 H 303.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6D1BAD
RGBrgb(109, 27, 173)
HSLhsl(274, 73%, 39%)
HSVhsv(274, 84%, 68%)
CMYKcmyk(37%, 84.4%, 0%, 32.2%)
CIE-LABlab(31.93, 58.98, -60.77)
CIE-LCHlch(31.93, 84.69, 314.14°)
OKLaboklab(44.04% 0.1158 -0.1735)
OKLCHoklch(44.04% 0.209 303.7)
XYZxyz(14.2397, 7.0522, 40.1381)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1BAD #5BAD1B
analogous
#241BAD #6D1BAD #AD1BA4
triadic
#6D1BAD #AD6D1B #1BAD6D
tetradic
#6D1BAD #AD241B #5BAD1B #1BA4AD
square
#6D1BAD #AD241B #5BAD1B #1BA4AD
split-complementary
#6D1BAD #A4AD1B #1BAD24
monochromatic
#2A0A43 #4C1378 #6D1BAD #8E28DD #AA5DE6

Accessibility & contrast

On white

8.71
#6D1BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D1BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1BAD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1BAD#FFFFFF#000000##FFFFFF
##6D1BAD1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#604567
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1bad;
/* rgb */ color: rgb(109, 27, 173);
/* oklch */ color: oklch(44.0% 0.209 303.7);
Tailwind
colors: {
  custom: {
    50: '#9d64c7',
    500: '#6d1bad',
    950: '#000000',
  },
}
SCSS
$custom: #6d1bad;
$custom-light: #9d64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1bad",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 273.699,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.20858,
    "h": 303.7
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#6D1BAD
secondary
#8BCA5A
accent
#F03889
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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