#6D1BA1#6D1BA1

#6D1BA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.197 H 307.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6D1BA1
RGBrgb(109, 27, 161)
HSLhsl(277, 71%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(32.3%, 83.2%, 0%, 36.9%)
CIE-LABlab(30.90, 56.32, -55.22)
CIE-LCHlch(30.90, 78.88, 315.57°)
OKLaboklab(43.01% 0.1195 -0.1572)
OKLCHoklch(43.01% 0.197 307.2)
XYZxyz(13.1302, 6.6085, 34.2952)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1BA1 #4FA11B
analogous
#2A1BA1 #6D1BA1 #A11B92
triadic
#6D1BA1 #A16D1B #1BA16D
tetradic
#6D1BA1 #A12A1B #4FA11B #1B92A1
square
#6D1BA1 #A12A1B #4FA11B #1B92A1
split-complementary
#6D1BA1 #92A11B #1BA12A
monochromatic
#260938 #4A126D #6D1BA1 #9024D5 #AB54E2

Accessibility & contrast

On white

9.05
#6D1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1BA1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1BA1#FFFFFF#000000##FFFFFF
##6D1BA11.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#644060
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1ba1;
/* rgb */ color: rgb(109, 27, 161);
/* oklch */ color: oklch(43.0% 0.197 307.2);
Tailwind
colors: {
  custom: {
    50: '#9c63be',
    500: '#6d1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ba1;
$custom-light: #9c63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ba1",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 276.716,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.19744,
    "h": 307.2
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#6D1BA1
secondary
#7FC552
accent
#EE3A80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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