#6B199F#6B199F

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

Color values

HEX#6B199F
RGBrgb(107, 25, 159)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(32.7%, 84.3%, 0%, 37.6%)
CIE-LABlab(30.22, 56.19, -55.13)
CIE-LCHlch(30.22, 78.72, 315.55°)
OKLaboklab(42.42% 0.1186 -0.157)
OKLCHoklch(42.42% 0.197 307.1)
XYZxyz(12.6677, 6.3244, 33.3476)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B199F #4D9F19
analogous
#28199F #6B199F #9F1990
triadic
#6B199F #9F6B19 #199F6B
tetradic
#6B199F #9F2819 #4D9F19 #19909F
square
#6B199F #9F2819 #4D9F19 #19909F
split-complementary
#6B199F #909F19 #199F28
monochromatic
#240835 #47116A #6B199F #8F21D4 #AA4FE3

Accessibility & contrast

On white

9.27
#6B199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B199F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B199F#FFFFFF#000000##FFFFFF
##6B199F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#623E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b199f;
/* rgb */ color: rgb(107, 25, 159);
/* oklch */ color: oklch(42.4% 0.197 307.1);
Tailwind
colors: {
  custom: {
    50: '#9b62bc',
    500: '#6b199f',
    950: '#000000',
  },
}
SCSS
$custom: #6b199f;
$custom-light: #9b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b199f",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 276.716,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.19674,
    "h": 307.1
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B199F

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

Preview Lab → · Contrast checker → · Palette generator →

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