#6B1DB3#6B1DB3

#6B1DB3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.212 H 301.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6B1DB3
RGBrgb(107, 29, 179)
HSLhsl(271, 72%, 41%)
HSVhsv(271, 84%, 70%)
CMYKcmyk(40.2%, 83.8%, 0%, 29.8%)
CIE-LABlab(32.39, 59.43, -63.61)
CIE-LCHlch(32.39, 87.05, 313.05°)
OKLaboklab(44.46% 0.1095 -0.1819)
OKLCHoklch(44.46% 0.212 301.1)
XYZxyz(14.6374, 7.2591, 43.2691)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1DB3 #65B31D
analogous
#201DB3 #6B1DB3 #B31DB0
triadic
#6B1DB3 #B36B1D #1DB36B
tetradic
#6B1DB3 #B3201D #65B31D #1DB0B3
square
#6B1DB3 #B3201D #65B31D #1DB0B3
split-complementary
#6B1DB3 #B0B31D #1DB320
monochromatic
#2C0C4A #4C147E #6B1DB3 #8A30DD #A864E6

Accessibility & contrast

On white

8.57
#6B1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6B1DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1DB3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1DB3#FFFFFF#000000##FFFFFF
##6B1DB31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1db3;
/* rgb */ color: rgb(107, 29, 179);
/* oklch */ color: oklch(44.5% 0.212 301.1);
Tailwind
colors: {
  custom: {
    50: '#9d65cb',
    500: '#6b1db3',
    950: '#000000',
  },
}
SCSS
$custom: #6b1db3;
$custom-light: #9d65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1db3",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 271.2,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.21233,
    "h": 301.1
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#6B1DB3
secondary
#94CB61
accent
#EF3990
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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