#6A1C99#6A1C99

#6A1C99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.188 H 308.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6A1C99
RGBrgb(106, 28, 153)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 82%, 60%)
CMYKcmyk(30.7%, 81.7%, 0%, 40%)
CIE-LABlab(29.90, 53.74, -51.99)
CIE-LCHlch(29.90, 74.78, 315.95°)
OKLaboklab(42.02% 0.1167 -0.1478)
OKLCHoklch(42.02% 0.188 308.3)
XYZxyz(12.1077, 6.1948, 30.6887)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C99 #4B991C
analogous
#2B1C99 #6A1C99 #991C89
triadic
#6A1C99 #996A1C #1C996A
tetradic
#6A1C99 #992B1C #4B991C #1C8999
square
#6A1C99 #992B1C #4B991C #1C8999
split-complementary
#6A1C99 #89991C #1C992B
monochromatic
#220932 #461365 #6A1C99 #8E25CD #A950DF

Accessibility & contrast

On white

9.38
#6A1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C99
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C99#FFFFFF#000000##FFFFFF
##6A1C991.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1c99;
/* rgb */ color: rgb(106, 28, 153);
/* oklch */ color: oklch(42.0% 0.188 308.3);
Tailwind
colors: {
  custom: {
    50: '#9a63b8',
    500: '#6a1c99',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c99;
$custom-light: #9a63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c99",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 277.44,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.18832,
    "h": 308.3
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#6A1C99
secondary
#7AC24F
accent
#EC3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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