#6D1D99#6D1D99

#6D1D99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.188 H 309.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6D1D99
RGBrgb(109, 29, 153)
HSLhsl(279, 68%, 36%)
HSVhsv(279, 81%, 60%)
CMYKcmyk(28.8%, 81%, 0%, 40%)
CIE-LABlab(30.47, 53.92, -51.04)
CIE-LCHlch(30.47, 74.25, 316.57°)
OKLaboklab(42.51% 0.1201 -0.1449)
OKLCHoklch(42.51% 0.188 309.6)
XYZxyz(12.4947, 6.4301, 30.7137)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D99 #49991D
analogous
#2F1D99 #6D1D99 #991D87
triadic
#6D1D99 #996D1D #1D996D
tetradic
#6D1D99 #992F1D #49991D #1D8799
square
#6D1D99 #992F1D #49991D #1D8799
split-complementary
#6D1D99 #87991D #1D992F
monochromatic
#240932 #481366 #6D1D99 #9227CC #AD52DE

Accessibility & contrast

On white

9.19
#6D1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6D1D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D99
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D99#FFFFFF#000000##FFFFFF
##6D1D991.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#663D5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1d99;
/* rgb */ color: rgb(109, 29, 153);
/* oklch */ color: oklch(42.5% 0.188 309.6);
Tailwind
colors: {
  custom: {
    50: '#9c64b8',
    500: '#6d1d99',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d99;
$custom-light: #9c64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d99",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 278.71,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.18822,
    "h": 309.6
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#6D1D99
secondary
#79C151
accent
#EB3D7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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