#6A199F#6A199F

#6A199F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.197 H 306.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6A199F
RGBrgb(106, 25, 159)
HSLhsl(276, 73%, 36%)
HSVhsv(276, 84%, 62%)
CMYKcmyk(33.3%, 84.3%, 0%, 37.6%)
CIE-LABlab(30.07, 56.03, -55.38)
CIE-LCHlch(30.07, 78.78, 315.34°)
OKLaboklab(42.29% 0.1172 -0.1577)
OKLCHoklch(42.29% 0.197 306.6)
XYZxyz(12.5481, 6.2628, 33.3420)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A199F #4E9F19
analogous
#27199F #6A199F #9F1991
triadic
#6A199F #9F6A19 #199F6A
tetradic
#6A199F #9F2719 #4E9F19 #19919F
square
#6A199F #9F2719 #4E9F19 #19919F
split-complementary
#6A199F #919F19 #199F27
monochromatic
#230835 #47116A #6A199F #8D21D4 #A94FE3

Accessibility & contrast

On white

9.32
#6A199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A199F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A199F#FFFFFF#000000##FFFFFF
##6A199F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#603E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a199f;
/* rgb */ color: rgb(106, 25, 159);
/* oklch */ color: oklch(42.3% 0.197 306.6);
Tailwind
colors: {
  custom: {
    50: '#9a62bc',
    500: '#6a199f',
    950: '#000000',
  },
}
SCSS
$custom: #6a199f;
$custom-light: #9a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a199f",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 276.269,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.1965,
    "h": 306.6
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#6A199F
secondary
#7DC64E
accent
#F03881
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A199F

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

Preview Lab → · Contrast checker → · Palette generator →

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