#6A19B3#6A19B3

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

Color values

HEX#6A19B3
RGBrgb(106, 25, 179)
HSLhsl(272, 75%, 40%)
HSVhsv(272, 86%, 70%)
CMYKcmyk(40.8%, 86%, 0%, 29.8%)
CIE-LABlab(31.84, 60.51, -64.52)
CIE-LCHlch(31.84, 88.45, 313.16°)
OKLaboklab(44.05% 0.1105 -0.1846)
OKLCHoklch(44.05% 0.215 300.9)
XYZxyz(14.4261, 7.0140, 43.2329)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A19B3 #62B319
analogous
#1D19B3 #6A19B3 #B319AF
triadic
#6A19B3 #B36A19 #19B36A
tetradic
#6A19B3 #B31D19 #62B319 #19AFB3
square
#6A19B3 #B31D19 #62B319 #19AFB3
split-complementary
#6A19B3 #AFB319 #19B31D
monochromatic
#2A0A48 #4A127D #6A19B3 #8928E1 #A75EE8

Accessibility & contrast

On white

8.74
#6A19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A19B3
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A19B3#FFFFFF#000000##FFFFFF
##6A19B31.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a19b3;
/* rgb */ color: rgb(106, 25, 179);
/* oklch */ color: oklch(44.1% 0.215 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c63cb',
    500: '#6a19b3',
    950: '#000000',
  },
}
SCSS
$custom: #6a19b3;
$custom-light: #9c63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a19b3",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 271.558,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.44054,
    "c": 0.2151,
    "h": 300.9
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#6A19B3
secondary
#91CC5B
accent
#F2368F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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