#6B1BB4#6B1BB4

#6B1BB4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.215 H 300.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6B1BB4
RGBrgb(107, 27, 180)
HSLhsl(271, 74%, 41%)
HSVhsv(271, 85%, 71%)
CMYKcmyk(40.6%, 85%, 0%, 29.4%)
CIE-LABlab(32.27, 60.28, -64.40)
CIE-LCHlch(32.27, 88.21, 313.11°)
OKLaboklab(44.41% 0.1104 -0.1842)
OKLCHoklch(44.41% 0.215 300.9)
XYZxyz(14.6915, 7.2048, 43.7878)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1BB4 #64B41B
analogous
#1F1BB4 #6B1BB4 #B41BB0
triadic
#6B1BB4 #B46B1B #1BB46B
tetradic
#6B1BB4 #B41F1B #64B41B #1BB0B4
square
#6B1BB4 #B41F1B #64B41B #1BB0B4
split-complementary
#6B1BB4 #B0B41B #1BB41F
monochromatic
#2C0B4A #4B137F #6B1BB4 #8A2DDF #A862E7

Accessibility & contrast

On white

8.60
#6B1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6B1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1BB4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1BB4#FFFFFF#000000##FFFFFF
##6B1BB41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#5A496B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b1bb4;
/* rgb */ color: rgb(107, 27, 180);
/* oklch */ color: oklch(44.4% 0.215 300.9);
Tailwind
colors: {
  custom: {
    50: '#9d64cc',
    500: '#6b1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #6b1bb4;
$custom-light: #9d64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1bb4",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 271.373,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.21477,
    "h": 300.9
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#6B1BB4
secondary
#93CC5F
accent
#F13790
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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