#6A199C#6A199C

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

Color values

HEX#6A199C
RGBrgb(106, 25, 156)
HSLhsl(277, 72%, 35%)
HSVhsv(277, 84%, 61%)
CMYKcmyk(32.1%, 84%, 0%, 38.8%)
CIE-LABlab(29.81, 55.38, -53.97)
CIE-LCHlch(29.81, 77.33, 315.74°)
OKLaboklab(42.03% 0.1181 -0.1536)
OKLCHoklch(42.03% 0.194 307.5)
XYZxyz(12.2910, 6.1599, 31.9875)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A199C #4B9C19
analogous
#28199C #6A199C #9C198C
triadic
#6A199C #9C6A19 #199C6A
tetradic
#6A199C #9C2819 #4B9C19 #198C9C
square
#6A199C #9C2819 #4B9C19 #198C9C
split-complementary
#6A199C #8C9C19 #199C28
monochromatic
#220833 #461167 #6A199C #8E21D1 #A94DE2

Accessibility & contrast

On white

9.41
#6A199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6A199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A199C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A199C#FFFFFF#000000##FFFFFF
##6A199C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#613D5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a199c;
/* rgb */ color: rgb(106, 25, 156);
/* oklch */ color: oklch(42.0% 0.194 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a62ba',
    500: '#6a199c',
    950: '#000000',
  },
}
SCSS
$custom: #6a199c;
$custom-light: #9a62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a199c",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 277.099,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.19373,
    "h": 307.5
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#6A199C
secondary
#7AC44C
accent
#EF397E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A199C

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

Preview Lab → · Contrast checker → · Palette generator →

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