#6A199D#6A199D

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

Color values

HEX#6A199D
RGBrgb(106, 25, 157)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(32.5%, 84.1%, 0%, 38.4%)
CIE-LABlab(29.90, 55.60, -54.44)
CIE-LCHlch(29.90, 77.81, 315.60°)
OKLaboklab(42.12% 0.1178 -0.155)
OKLCHoklch(42.12% 0.195 307.2)
XYZxyz(12.3760, 6.1939, 32.4353)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A199D #4C9D19
analogous
#28199D #6A199D #9D198E
triadic
#6A199D #9D6A19 #199D6A
tetradic
#6A199D #9D2819 #4C9D19 #198E9D
square
#6A199D #9D2819 #4C9D19 #198E9D
split-complementary
#6A199D #8E9D19 #199D28
monochromatic
#230833 #461168 #6A199D #8E21D2 #A94EE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A199D#FFFFFF#000000##FFFFFF
##6A199D1.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)
#0044A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#613E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a199d;
/* rgb */ color: rgb(106, 25, 157);
/* oklch */ color: oklch(42.1% 0.195 307.2);
Tailwind
colors: {
  custom: {
    50: '#9a62bb',
    500: '#6a199d',
    950: '#000000',
  },
}
SCSS
$custom: #6a199d;
$custom-light: #9a62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a199d",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 276.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.19465,
    "h": 307.2
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#6A199D
secondary
#7BC54D
accent
#EF397F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A199D

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

Preview Lab → · Contrast checker → · Palette generator →

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