#6D1D95#6D1D95

#6D1D95 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 311.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6D1D95
RGBrgb(109, 29, 149)
HSLhsl(280, 67%, 35%)
HSVhsv(280, 81%, 58%)
CMYKcmyk(26.8%, 80.5%, 0%, 41.6%)
CIE-LABlab(30.16, 53.06, -49.10)
CIE-LCHlch(30.16, 72.29, 317.22°)
OKLaboklab(42.19% 0.121 -0.1392)
OKLCHoklch(42.19% 0.184 311)
XYZxyz(12.1698, 6.3002, 29.0029)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D95 #45951D
analogous
#311D95 #6D1D95 #951D81
triadic
#6D1D95 #956D1D #1D956D
tetradic
#6D1D95 #95311D #45951D #1D8195
square
#6D1D95 #95311D #45951D #1D8195
split-complementary
#6D1D95 #81951D #1D9531
monochromatic
#22092F #481362 #6D1D95 #9227C8 #AE50DD

Accessibility & contrast

On white

9.29
#6D1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6D1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D95
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D95#FFFFFF#000000##FFFFFF
##6D1D951.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#683B59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1d95;
/* rgb */ color: rgb(109, 29, 149);
/* oklch */ color: oklch(42.2% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#9b63b5',
    500: '#6d1d95',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d95;
$custom-light: #9b63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d95",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 280,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.18448,
    "h": 311
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#6D1D95
secondary
#74C04E
accent
#EA3D77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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