#6B1BA9#6B1BA9

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

Color values

HEX#6B1BA9
RGBrgb(107, 27, 169)
HSLhsl(274, 72%, 38%)
HSVhsv(274, 84%, 66%)
CMYKcmyk(36.7%, 84%, 0%, 33.7%)
CIE-LABlab(31.29, 57.79, -59.43)
CIE-LCHlch(31.29, 82.89, 314.20°)
OKLaboklab(43.43% 0.1141 -0.1696)
OKLCHoklch(43.43% 0.204 303.9)
XYZxyz(13.6151, 6.7743, 38.1187)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1BA9 #59A91B
analogous
#241BA9 #6B1BA9 #A91BA0
triadic
#6B1BA9 #A96B1B #1BA96B
tetradic
#6B1BA9 #A9241B #59A91B #1BA0A9
square
#6B1BA9 #A9241B #59A91B #1BA0A9
split-complementary
#6B1BA9 #A0A91B #1BA924
monochromatic
#280A3F #4A1374 #6B1BA9 #8C25DC #A85AE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B1BA9#FFFFFF#000000##FFFFFF
##6B1BA91.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)
#0048AD
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#5E4465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ba9;
/* rgb */ color: rgb(107, 27, 169);
/* oklch */ color: oklch(43.4% 0.204 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c64c4',
    500: '#6b1ba9',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ba9;
$custom-light: #9c64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ba9",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 169
  },
  "hsl": {
    "h": 273.803,
    "s": 72.449,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.20444,
    "h": 303.9
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#6B1BA9
secondary
#89C858
accent
#EF3988
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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