#6B1899#6B1899

#6B1899 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.192 H 309.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6B1899
RGBrgb(107, 24, 153)
HSLhsl(279, 73%, 35%)
HSVhsv(279, 84%, 60%)
CMYKcmyk(30.1%, 84.3%, 0%, 40%)
CIE-LABlab(29.61, 55.19, -52.46)
CIE-LCHlch(29.61, 76.14, 316.46°)
OKLaboklab(41.85% 0.121 -0.1491)
OKLCHoklch(41.85% 0.192 309.1)
XYZxyz(12.1386, 6.0792, 30.6648)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1899 #469918
analogous
#2B1899 #6B1899 #991886
triadic
#6B1899 #996B18 #18996B
tetradic
#6B1899 #992B18 #469918 #188699
square
#6B1899 #992B18 #469918 #188699
split-complementary
#6B1899 #869918 #18992B
monochromatic
#21072F #461064 #6B1899 #9020CE #AC49E2

Accessibility & contrast

On white

9.48
#6B1899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B1899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1899
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1899#FFFFFF#000000##FFFFFF
##6B18991.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#643B5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1899;
/* rgb */ color: rgb(107, 24, 153);
/* oklch */ color: oklch(41.8% 0.192 309.1);
Tailwind
colors: {
  custom: {
    50: '#9b62b8',
    500: '#6b1899',
    950: '#000000',
  },
}
SCSS
$custom: #6b1899;
$custom-light: #9b62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1899",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 278.605,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.19205,
    "h": 309.1
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#6B1899
secondary
#75C449
accent
#F0387A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1899

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

Preview Lab → · Contrast checker → · Palette generator →

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