#6B19B2#6B19B2

#6B19B2 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.1% C 0.214 H 301.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6B19B2
RGBrgb(107, 25, 178)
HSLhsl(272, 75%, 40%)
HSVhsv(272, 86%, 70%)
CMYKcmyk(39.9%, 86%, 0%, 30.2%)
CIE-LABlab(31.89, 60.42, -63.84)
CIE-LCHlch(31.89, 87.89, 313.42°)
OKLaboklab(44.09% 0.1123 -0.1825)
OKLCHoklch(44.09% 0.214 301.6)
XYZxyz(14.4449, 7.0353, 42.7078)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B19B2 #60B219
analogous
#1F19B2 #6B19B2 #B219AC
triadic
#6B19B2 #B26B19 #19B26B
tetradic
#6B19B2 #B21F19 #60B219 #19ACB2
square
#6B19B2 #B21F19 #60B219 #19ACB2
split-complementary
#6B19B2 #ACB219 #19B21F
monochromatic
#2A0A47 #4B117C #6B19B2 #8B27E1 #A85DE8

Accessibility & contrast

On white

8.72
#6B19B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6B19B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B19B2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B19B2#FFFFFF#000000##FFFFFF
##6B19B21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#5B476A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b19b2;
/* rgb */ color: rgb(107, 25, 178);
/* oklch */ color: oklch(44.1% 0.214 301.6);
Tailwind
colors: {
  custom: {
    50: '#9d63ca',
    500: '#6b19b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b19b2;
$custom-light: #9d63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b19b2",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 178
  },
  "hsl": {
    "h": 272.157,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.21433,
    "h": 301.6
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#6B19B2
secondary
#8FCC5B
accent
#F2368D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B19B2

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

Preview Lab → · Contrast checker → · Palette generator →

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