#6B1FB1#6B1FB1

#6B1FB1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.209 H 301.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6B1FB1
RGBrgb(107, 31, 177)
HSLhsl(271, 70%, 41%)
HSVhsv(271, 82%, 69%)
CMYKcmyk(39.5%, 82.5%, 0%, 30.6%)
CIE-LABlab(32.44, 58.31, -62.34)
CIE-LCHlch(32.44, 85.36, 313.09°)
OKLaboklab(44.44% 0.1089 -0.1782)
OKLCHoklch(44.44% 0.209 301.4)
XYZxyz(14.4873, 7.2800, 42.2284)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1FB1 #65B11F
analogous
#221FB1 #6B1FB1 #B11FAE
triadic
#6B1FB1 #B16B1F #1FB16B
tetradic
#6B1FB1 #B1221F #65B11F #1FAEB1
square
#6B1FB1 #B1221F #65B11F #1FAEB1
split-complementary
#6B1FB1 #AEB11F #1FB122
monochromatic
#2C0D49 #4C167D #6B1FB1 #8A32DB #A866E4

Accessibility & contrast

On white

8.55
#6B1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1FB1
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1FB1#FFFFFF#000000##FFFFFF
##6B1FB11.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#5B496A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b1fb1;
/* rgb */ color: rgb(107, 31, 177);
/* oklch */ color: oklch(44.4% 0.209 301.4);
Tailwind
colors: {
  custom: {
    50: '#9c66c9',
    500: '#6b1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1fb1;
$custom-light: #9c66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1fb1",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 271.233,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4444,
    "c": 0.20882,
    "h": 301.4
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#6B1FB1
secondary
#94CA62
accent
#ED3B90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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