#6B1AAA#6B1AAA

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

Color values

HEX#6B1AAA
RGBrgb(107, 26, 170)
HSLhsl(274, 73%, 38%)
HSVhsv(274, 85%, 67%)
CMYKcmyk(37.1%, 84.7%, 0%, 33.3%)
CIE-LABlab(31.27, 58.32, -60.06)
CIE-LCHlch(31.27, 83.72, 314.16°)
OKLaboklab(43.45% 0.1145 -0.1715)
OKLCHoklch(43.45% 0.206 303.7)
XYZxyz(13.6868, 6.7669, 38.6075)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1AAA #59AA1A
analogous
#231AAA #6B1AAA #AA1AA1
triadic
#6B1AAA #AA6B1A #1AAA6B
tetradic
#6B1AAA #AA231A #59AA1A #1AA1AA
square
#6B1AAA #AA231A #59AA1A #1AA1AA
split-complementary
#6B1AAA #A1AA1A #1AAA23
monochromatic
#280A40 #4A1275 #6B1AAA #8C24DD #A859E6

Accessibility & contrast

On white

8.92
#6B1AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1AAA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1AAA#FFFFFF#000000##FFFFFF
##6B1AAA1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1aaa;
/* rgb */ color: rgb(107, 26, 170);
/* oklch */ color: oklch(43.4% 0.206 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c63c4',
    500: '#6b1aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6b1aaa;
$custom-light: #9c63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1aaa",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 170
  },
  "hsl": {
    "h": 273.75,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.20615,
    "h": 303.7
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#6B1AAA
secondary
#89C957
accent
#F03888
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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