#6A1DB1#6A1DB1

#6A1DB1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.210 H 301.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6A1DB1
RGBrgb(106, 29, 177)
HSLhsl(271, 72%, 40%)
HSVhsv(271, 84%, 69%)
CMYKcmyk(40.1%, 83.6%, 0%, 30.6%)
CIE-LABlab(32.07, 58.83, -62.94)
CIE-LCHlch(32.07, 86.16, 313.07°)
OKLaboklab(44.16% 0.1087 -0.18)
OKLCHoklch(44.16% 0.21 301.1)
XYZxyz(14.3171, 7.1171, 42.2059)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1DB1 #64B11D
analogous
#201DB1 #6A1DB1 #B11DAE
triadic
#6A1DB1 #B16A1D #1DB16A
tetradic
#6A1DB1 #B1201D #64B11D #1DAEB1
square
#6A1DB1 #B1201D #64B11D #1DAEB1
split-complementary
#6A1DB1 #AEB11D #1DB120
monochromatic
#2B0C48 #4B147C #6A1DB1 #892EDD #A763E5

Accessibility & contrast

On white

8.67
#6A1DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A1DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1DB1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1DB1#FFFFFF#000000##FFFFFF
##6A1DB11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1db1;
/* rgb */ color: rgb(106, 29, 177);
/* oklch */ color: oklch(44.2% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#9c65c9',
    500: '#6a1db1',
    950: '#000000',
  },
}
SCSS
$custom: #6a1db1;
$custom-light: #9c65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1db1",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 271.216,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.21026,
    "h": 301.1
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#6A1DB1
secondary
#93CA60
accent
#EF3990
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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