#6B1BAA#6B1BAA

#6B1BAA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.205 H 303.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6B1BAA
RGBrgb(107, 27, 170)
HSLhsl(274, 73%, 39%)
HSVhsv(274, 84%, 67%)
CMYKcmyk(37.1%, 84.1%, 0%, 33.3%)
CIE-LABlab(31.38, 58.02, -59.89)
CIE-LCHlch(31.38, 83.38, 314.09°)
OKLaboklab(43.52% 0.1138 -0.171)
OKLCHoklch(43.52% 0.205 303.7)
XYZxyz(13.7093, 6.8120, 38.6150)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1BAA #5AAA1B
analogous
#231BAA #6B1BAA #AA1BA1
triadic
#6B1BAA #AA6B1B #1BAA6B
tetradic
#6B1BAA #AA231B #5AAA1B #1BA1AA
square
#6B1BAA #AA231B #5AAA1B #1BA1AA
split-complementary
#6B1BAA #A1AA1B #1BAA23
monochromatic
#290A40 #4A1375 #6B1BAA #8C26DC #A85BE5

Accessibility & contrast

On white

8.89
#6B1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1BAA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1BAA#FFFFFF#000000##FFFFFF
##6B1BAA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5E4465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1baa;
/* rgb */ color: rgb(107, 27, 170);
/* oklch */ color: oklch(43.5% 0.205 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c64c4',
    500: '#6b1baa',
    950: '#000000',
  },
}
SCSS
$custom: #6b1baa;
$custom-light: #9c64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1baa",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 273.566,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.20538,
    "h": 303.7
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#6B1BAA
secondary
#8AC958
accent
#EF3989
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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