#6B19A0#6B19A0

#6B19A0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.198 H 306.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6B19A0
RGBrgb(107, 25, 160)
HSLhsl(276, 73%, 36%)
HSVhsv(276, 84%, 63%)
CMYKcmyk(33.1%, 84.4%, 0%, 37.3%)
CIE-LABlab(30.30, 56.41, -55.60)
CIE-LCHlch(30.30, 79.20, 315.42°)
OKLaboklab(42.51% 0.1183 -0.1583)
OKLCHoklch(42.51% 0.198 306.8)
XYZxyz(12.7548, 6.3593, 33.8064)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B19A0 #4EA019
analogous
#2719A0 #6B19A0 #A01992
triadic
#6B19A0 #A06B19 #19A06B
tetradic
#6B19A0 #A02719 #4EA019 #1992A0
square
#6B19A0 #A02719 #4EA019 #1992A0
split-complementary
#6B19A0 #92A019 #19A027
monochromatic
#240836 #48116B #6B19A0 #8E21D5 #AA50E4

Accessibility & contrast

On white

9.24
#6B19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B19A0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B19A0#FFFFFF#000000##FFFFFF
##6B19A01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#623F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b19a0;
/* rgb */ color: rgb(107, 25, 160);
/* oklch */ color: oklch(42.5% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b62bd',
    500: '#6b19a0',
    950: '#000000',
  },
}
SCSS
$custom: #6b19a0;
$custom-light: #9b62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b19a0",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 276.444,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.19766,
    "h": 306.8
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#6B19A0
secondary
#7EC64F
accent
#F03880
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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