#6B1BB3#6B1BB3

#6B1BB3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.214 H 301.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6B1BB3
RGBrgb(107, 27, 179)
HSLhsl(272, 74%, 40%)
HSVhsv(272, 85%, 70%)
CMYKcmyk(40.2%, 84.9%, 0%, 29.8%)
CIE-LABlab(32.18, 60.05, -63.96)
CIE-LCHlch(32.18, 87.73, 313.20°)
OKLaboklab(44.32% 0.1108 -0.1829)
OKLCHoklch(44.32% 0.214 301.2)
XYZxyz(14.5900, 7.1642, 43.2533)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1BB3 #63B31B
analogous
#1F1BB3 #6B1BB3 #B31BAF
triadic
#6B1BB3 #B36B1B #1BB36B
tetradic
#6B1BB3 #B31F1B #63B31B #1BAFB3
square
#6B1BB3 #B31F1B #63B31B #1BAFB3
split-complementary
#6B1BB3 #AFB31B #1BB31F
monochromatic
#2B0B49 #4B137E #6B1BB3 #8A2CDF #A861E7

Accessibility & contrast

On white

8.63
#6B1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B1BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1BB3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1BB3#FFFFFF#000000##FFFFFF
##6B1BB31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5A486A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b1bb3;
/* rgb */ color: rgb(107, 27, 179);
/* oklch */ color: oklch(44.3% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#9d64cb',
    500: '#6b1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b1bb3;
$custom-light: #9d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1bb3",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 271.579,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.21383,
    "h": 301.2
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#6B1BB3
secondary
#92CC5E
accent
#F0378F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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