#6D1D9C#6D1D9C

#6D1D9C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.191 H 308.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6D1D9C
RGBrgb(109, 29, 156)
HSLhsl(278, 69%, 36%)
HSVhsv(278, 81%, 61%)
CMYKcmyk(30.1%, 81.4%, 0%, 38.8%)
CIE-LABlab(30.71, 54.57, -52.48)
CIE-LCHlch(30.71, 75.71, 316.12°)
OKLaboklab(42.75% 0.1194 -0.1491)
OKLCHoklch(42.75% 0.191 308.7)
XYZxyz(12.7455, 6.5305, 32.0351)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D9C #4C9C1D
analogous
#2D1D9C #6D1D9C #9C1D8C
triadic
#6D1D9C #9C6D1D #1D9C6D
tetradic
#6D1D9C #9C2D1D #4C9C1D #1D8C9C
square
#6D1D9C #9C2D1D #4C9C1D #1D8C9C
split-complementary
#6D1D9C #8C9C1D #1D9C2D
monochromatic
#250A35 #491368 #6D1D9C #9127D0 #AC54DF

Accessibility & contrast

On white

9.11
#6D1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D1D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D9C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D9C#FFFFFF#000000##FFFFFF
##6D1D9C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#663E5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1d9c;
/* rgb */ color: rgb(109, 29, 156);
/* oklch */ color: oklch(42.8% 0.191 308.7);
Tailwind
colors: {
  custom: {
    50: '#9c64ba',
    500: '#6d1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d9c;
$custom-light: #9c64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d9c",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 277.795,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.19102,
    "h": 308.7
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#6D1D9C
secondary
#7CC252
accent
#EB3C7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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