#6A199E#6A199E

#6A199E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.196 H 306.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6A199E
RGBrgb(106, 25, 158)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(32.9%, 84.2%, 0%, 38%)
CIE-LABlab(29.98, 55.82, -54.91)
CIE-LCHlch(29.98, 78.30, 315.47°)
OKLaboklab(42.2% 0.1175 -0.1564)
OKLCHoklch(42.2% 0.196 306.9)
XYZxyz(12.4617, 6.2282, 32.8868)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A199E #4D9E19
analogous
#27199E #6A199E #9E198F
triadic
#6A199E #9E6A19 #199E6A
tetradic
#6A199E #9E2719 #4D9E19 #198F9E
square
#6A199E #9E2719 #4D9E19 #198F9E
split-complementary
#6A199E #8F9E19 #199E27
monochromatic
#230834 #471169 #6A199E #8D21D3 #A94EE3

Accessibility & contrast

On white

9.35
#6A199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A199E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A199E#FFFFFF#000000##FFFFFF
##6A199E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#613E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a199e;
/* rgb */ color: rgb(106, 25, 158);
/* oklch */ color: oklch(42.2% 0.196 306.9);
Tailwind
colors: {
  custom: {
    50: '#9a62bc',
    500: '#6a199e',
    950: '#000000',
  },
}
SCSS
$custom: #6a199e;
$custom-light: #9a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a199e",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 276.541,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.19558,
    "h": 306.9
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#6A199E
secondary
#7CC54E
accent
#EF3880
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A199E

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

Preview Lab → · Contrast checker → · Palette generator →

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