#6D1B99#6D1B99

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

Color values

HEX#6D1B99
RGBrgb(109, 27, 153)
HSLhsl(279, 70%, 35%)
HSVhsv(279, 82%, 60%)
CMYKcmyk(28.8%, 82.4%, 0%, 40%)
CIE-LABlab(30.24, 54.59, -51.41)
CIE-LCHlch(30.24, 74.99, 316.71°)
OKLaboklab(42.35% 0.1217 -0.146)
OKLCHoklch(42.35% 0.19 309.8)
XYZxyz(12.4472, 6.3352, 30.6979)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B99 #47991B
analogous
#2E1B99 #6D1B99 #991B86
triadic
#6D1B99 #996D1B #1B996D
tetradic
#6D1B99 #992E1B #47991B #1B8699
square
#6D1B99 #992E1B #47991B #1B8699
split-complementary
#6D1B99 #86991B #1B992E
monochromatic
#230931 #481265 #6D1B99 #9224CD #AD4FE0

Accessibility & contrast

On white

9.26
#6D1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6D1B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B99
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B99#FFFFFF#000000##FFFFFF
##6D1B991.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#663C5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1b99;
/* rgb */ color: rgb(109, 27, 153);
/* oklch */ color: oklch(42.4% 0.190 309.8);
Tailwind
colors: {
  custom: {
    50: '#9c63b8',
    500: '#6d1b99',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b99;
$custom-light: #9c63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b99",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 279.048,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.19005,
    "h": 309.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#6D1B99
secondary
#76C24E
accent
#ED3B79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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