#6D19B1#6D19B1

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

Color values

HEX#6D19B1
RGBrgb(109, 25, 177)
HSLhsl(273, 75%, 40%)
HSVhsv(273, 86%, 69%)
CMYKcmyk(38.4%, 85.9%, 0%, 30.6%)
CIE-LABlab(32.08, 60.46, -62.91)
CIE-LCHlch(32.08, 87.26, 313.86°)
OKLaboklab(44.25% 0.1157 -0.1798)
OKLCHoklch(44.25% 0.214 302.8)
XYZxyz(14.5882, 7.1208, 42.1923)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D19B1 #5DB119
analogous
#2119B1 #6D19B1 #B119A9
triadic
#6D19B1 #B16D19 #19B16D
tetradic
#6D19B1 #B12119 #5DB119 #19A9B1
square
#6D19B1 #B12119 #5DB119 #19A9B1
split-complementary
#6D19B1 #A9B119 #19B121
monochromatic
#2B0A46 #4C117B #6D19B1 #8D27E0 #AA5CE8

Accessibility & contrast

On white

8.66
#6D19B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D19B1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D19B1#FFFFFF#000000##FFFFFF
##6D19B11.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d19b1;
/* rgb */ color: rgb(109, 25, 177);
/* oklch */ color: oklch(44.3% 0.214 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e64c9',
    500: '#6d19b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d19b1;
$custom-light: #9e64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d19b1",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 177
  },
  "hsl": {
    "h": 273.158,
    "s": 75.248,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.21375,
    "h": 302.8
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#6D19B1
secondary
#8DCC5A
accent
#F2368A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D19B1

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

Preview Lab → · Contrast checker → · Palette generator →

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