#6A1BAA#6A1BAA

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

Color values

HEX#6A1BAA
RGBrgb(106, 27, 170)
HSLhsl(273, 73%, 39%)
HSVhsv(273, 84%, 67%)
CMYKcmyk(37.6%, 84.1%, 0%, 33.3%)
CIE-LABlab(31.23, 57.87, -60.13)
CIE-LCHlch(31.23, 83.45, 313.90°)
OKLaboklab(43.39% 0.1123 -0.1717)
OKLCHoklch(43.39% 0.205 303.2)
XYZxyz(13.5898, 6.7503, 38.6094)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1BAA #5BAA1B
analogous
#221BAA #6A1BAA #AA1BA2
triadic
#6A1BAA #AA6A1B #1BAA6A
tetradic
#6A1BAA #AA221B #5BAA1B #1BA2AA
square
#6A1BAA #AA221B #5BAA1B #1BA2AA
split-complementary
#6A1BAA #A2AA1B #1BAA22
monochromatic
#280A40 #491375 #6A1BAA #8B26DC #A75BE5

Accessibility & contrast

On white

8.94
#6A1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1BAA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1BAA#FFFFFF#000000##FFFFFF
##6A1BAA1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#5D4465
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a1baa;
/* rgb */ color: rgb(106, 27, 170);
/* oklch */ color: oklch(43.4% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#9b64c4',
    500: '#6a1baa',
    950: '#000000',
  },
}
SCSS
$custom: #6a1baa;
$custom-light: #9b64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1baa",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 273.147,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.20519,
    "h": 303.2
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#6A1BAA
secondary
#8BC958
accent
#EF398A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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