#6A1A99#6A1A99

#6A1A99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.190 H 308.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#6A1A99
RGBrgb(106, 26, 153)
HSLhsl(278, 71%, 35%)
HSVhsv(278, 83%, 60%)
CMYKcmyk(30.7%, 83%, 0%, 40%)
CIE-LABlab(29.67, 54.40, -52.37)
CIE-LCHlch(29.67, 75.51, 316.09°)
OKLaboklab(41.86% 0.1182 -0.1489)
OKLCHoklch(41.86% 0.19 308.4)
XYZxyz(12.0618, 6.1031, 30.6734)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A99 #49991A
analogous
#2A1A99 #6A1A99 #991A89
triadic
#6A1A99 #996A1A #1A996A
tetradic
#6A1A99 #992A1A #49991A #1A8999
square
#6A1A99 #992A1A #49991A #1A8999
split-complementary
#6A1A99 #89991A #1A992A
monochromatic
#220830 #461165 #6A1A99 #8E23CD #AA4DE1

Accessibility & contrast

On white

9.46
#6A1A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6A1A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A99
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A99#FFFFFF#000000##FFFFFF
##6A1A991.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#623C5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1a99;
/* rgb */ color: rgb(106, 26, 153);
/* oklch */ color: oklch(41.9% 0.190 308.4);
Tailwind
colors: {
  custom: {
    50: '#9a62b8',
    500: '#6a1a99',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a99;
$custom-light: #9a62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a99",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 277.795,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.19011,
    "h": 308.4
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#6A1A99
secondary
#78C34C
accent
#EE3A7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1A99

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

Preview Lab → · Contrast checker → · Palette generator →

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