#6A19B2#6A19B2

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

Color values

HEX#6A19B2
RGBrgb(106, 25, 178)
HSLhsl(272, 75%, 40%)
HSVhsv(272, 86%, 70%)
CMYKcmyk(40.4%, 86%, 0%, 30.2%)
CIE-LABlab(31.75, 60.28, -64.07)
CIE-LCHlch(31.75, 87.97, 313.25°)
OKLaboklab(43.96% 0.1108 -0.1833)
OKLCHoklch(43.96% 0.214 301.2)
XYZxyz(14.3254, 6.9737, 42.7022)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A19B2 #61B219
analogous
#1E19B2 #6A19B2 #B219AD
triadic
#6A19B2 #B26A19 #19B26A
tetradic
#6A19B2 #B21E19 #61B219 #19ADB2
square
#6A19B2 #B21E19 #61B219 #19ADB2
split-complementary
#6A19B2 #ADB219 #19B21E
monochromatic
#2A0A47 #4A117C #6A19B2 #8A27E1 #A75DE8

Accessibility & contrast

On white

8.77
#6A19B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A19B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A19B2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A19B2#FFFFFF#000000##FFFFFF
##6A19B21.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a19b2;
/* rgb */ color: rgb(106, 25, 178);
/* oklch */ color: oklch(44.0% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c63ca',
    500: '#6a19b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a19b2;
$custom-light: #9c63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a19b2",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 178
  },
  "hsl": {
    "h": 271.765,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43963,
    "c": 0.21416,
    "h": 301.2
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A19B2

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

Preview Lab → · Contrast checker → · Palette generator →

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