#6A1699#6A1699

#6A1699 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.6% C 0.193 H 308.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6A1699
RGBrgb(106, 22, 153)
HSLhsl(278, 75%, 34%)
HSVhsv(278, 86%, 60%)
CMYKcmyk(30.7%, 85.6%, 0%, 40%)
CIE-LABlab(29.26, 55.62, -53.04)
CIE-LCHlch(29.26, 76.86, 316.36°)
OKLaboklab(41.57% 0.121 -0.1509)
OKLCHoklch(41.57% 0.193 308.7)
XYZxyz(11.9793, 5.9381, 30.6459)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1699 #459916
analogous
#281699 #6A1699 #991687
triadic
#6A1699 #996A16 #16996A
tetradic
#6A1699 #992816 #459916 #168799
square
#6A1699 #992816 #459916 #168799
split-complementary
#6A1699 #879916 #169928
monochromatic
#20072E #450E63 #6A1699 #8F1ECF #AB45E4

Accessibility & contrast

On white

9.60
#6A1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1699
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1699#FFFFFF#000000##FFFFFF
##6A16991.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#623B5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1699;
/* rgb */ color: rgb(106, 22, 153);
/* oklch */ color: oklch(41.6% 0.193 308.7);
Tailwind
colors: {
  custom: {
    50: '#9a61b8',
    500: '#6a1699',
    950: '#000000',
  },
}
SCSS
$custom: #6a1699;
$custom-light: #9a61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1699",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 278.473,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.19337,
    "h": 308.7
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#6A1699
secondary
#73C546
accent
#F13679
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6A1699

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

Preview Lab → · Contrast checker → · Palette generator →

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