#6B199D#6B199D

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

Color values

HEX#6B199D
RGBrgb(107, 25, 157)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(31.8%, 84.1%, 0%, 38.4%)
CIE-LABlab(30.05, 55.75, -54.19)
CIE-LCHlch(30.05, 77.75, 315.82°)
OKLaboklab(42.25% 0.1192 -0.1542)
OKLCHoklch(42.25% 0.195 307.7)
XYZxyz(12.4955, 6.2556, 32.4409)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B199D #4B9D19
analogous
#29199D #6B199D #9D198D
triadic
#6B199D #9D6B19 #199D6B
tetradic
#6B199D #9D2919 #4B9D19 #198D9D
square
#6B199D #9D2919 #4B9D19 #198D9D
split-complementary
#6B199D #8D9D19 #199D29
monochromatic
#230833 #471168 #6B199D #8F21D2 #AA4EE3

Accessibility & contrast

On white

9.33
#6B199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B199D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B199D#FFFFFF#000000##FFFFFF
##6B199D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#633D5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b199d;
/* rgb */ color: rgb(107, 25, 157);
/* oklch */ color: oklch(42.3% 0.195 307.7);
Tailwind
colors: {
  custom: {
    50: '#9b62bb',
    500: '#6b199d',
    950: '#000000',
  },
}
SCSS
$custom: #6b199d;
$custom-light: #9b62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b199d",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 277.273,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.1949,
    "h": 307.7
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#6B199D
secondary
#7AC54D
accent
#EF397E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B199D

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

Preview Lab → · Contrast checker → · Palette generator →

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