#6B19B3#6B19B3

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

Color values

HEX#6B19B3
RGBrgb(107, 25, 179)
HSLhsl(272, 75%, 40%)
HSVhsv(272, 86%, 70%)
CMYKcmyk(40.2%, 86%, 0%, 29.8%)
CIE-LABlab(31.98, 60.64, -64.28)
CIE-LCHlch(31.98, 88.37, 313.33°)
OKLaboklab(44.18% 0.112 -0.1839)
OKLCHoklch(44.18% 0.215 301.3)
XYZxyz(14.5457, 7.0756, 43.2385)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B19B3 #61B319
analogous
#1E19B3 #6B19B3 #B319AE
triadic
#6B19B3 #B36B19 #19B36B
tetradic
#6B19B3 #B31E19 #61B319 #19AEB3
square
#6B19B3 #B31E19 #61B319 #19AEB3
split-complementary
#6B19B3 #AEB319 #19B31E
monochromatic
#2B0A48 #4B127D #6B19B3 #8B28E1 #A85EE8

Accessibility & contrast

On white

8.69
#6B19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B19B3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B19B3#FFFFFF#000000##FFFFFF
##6B19B31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b19b3;
/* rgb */ color: rgb(107, 25, 179);
/* oklch */ color: oklch(44.2% 0.215 301.3);
Tailwind
colors: {
  custom: {
    50: '#9d64cb',
    500: '#6b19b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b19b3;
$custom-light: #9d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b19b3",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 271.948,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.4418,
    "c": 0.21526,
    "h": 301.3
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#6B19B3
secondary
#90CC5B
accent
#F2368E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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