#6A1996#6A1996

#6A1996 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.188 H 309.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6A1996
RGBrgb(106, 25, 150)
HSLhsl(279, 71%, 34%)
HSVhsv(279, 83%, 59%)
CMYKcmyk(29.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(29.32, 54.07, -51.11)
CIE-LCHlch(29.32, 74.40, 316.62°)
OKLaboklab(41.53% 0.1198 -0.1452)
OKLCHoklch(41.53% 0.188 309.5)
XYZxyz(11.7954, 5.9617, 29.3776)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1996 #459619
analogous
#2C1996 #6A1996 #961984
triadic
#6A1996 #966A19 #19966A
tetradic
#6A1996 #962C19 #459619 #198496
square
#6A1996 #962C19 #459619 #198496
split-complementary
#6A1996 #849619 #19962C
monochromatic
#20082D #451062 #6A1996 #8F22CA #AB49E1

Accessibility & contrast

On white

9.58
#6A1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1996
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1996#FFFFFF#000000##FFFFFF
##6A19961.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#633A59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1996;
/* rgb */ color: rgb(106, 25, 150);
/* oklch */ color: oklch(41.5% 0.188 309.5);
Tailwind
colors: {
  custom: {
    50: '#9a62b6',
    500: '#6a1996',
    950: '#000000',
  },
}
SCSS
$custom: #6a1996;
$custom-light: #9a62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1996",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 278.88,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.1882,
    "h": 309.5
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#6A1996
secondary
#73C249
accent
#EE3A79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1996

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

Preview Lab → · Contrast checker → · Palette generator →

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