#6D1D93#6D1D93

#6D1D93 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.183 H 311.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6D1D93
RGBrgb(109, 29, 147)
HSLhsl(281, 67%, 35%)
HSVhsv(281, 80%, 58%)
CMYKcmyk(25.9%, 80.3%, 0%, 42.4%)
CIE-LABlab(30.00, 52.63, -48.12)
CIE-LCHlch(30.00, 71.31, 317.56°)
OKLaboklab(42.03% 0.1215 -0.1363)
OKLCHoklch(42.03% 0.183 311.7)
XYZxyz(12.0115, 6.2369, 28.1692)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D93 #43931D
analogous
#321D93 #6D1D93 #931D7E
triadic
#6D1D93 #936D1D #1D936D
tetradic
#6D1D93 #93321D #43931D #1D7E93
square
#6D1D93 #93321D #43931D #1D7E93
split-complementary
#6D1D93 #7E931D #1D9332
monochromatic
#21092D #471360 #6D1D93 #9327C6 #AE4EDC

Accessibility & contrast

On white

9.34
#6D1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D93
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D93#FFFFFF#000000##FFFFFF
##6D1D931.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#014891
Tritanopia (blue-blind)
#683A58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1d93;
/* rgb */ color: rgb(109, 29, 147);
/* oklch */ color: oklch(42.0% 0.183 311.7);
Tailwind
colors: {
  custom: {
    50: '#9b63b3',
    500: '#6d1d93',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d93;
$custom-light: #9b63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d93",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 280.678,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.18262,
    "h": 311.7
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#6D1D93
secondary
#72BF4D
accent
#EA3E75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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