#6D1B93#6D1B93

#6D1B93 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.185 H 311.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6D1B93
RGBrgb(109, 27, 147)
HSLhsl(281, 69%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(25.9%, 81.6%, 0%, 42.4%)
CIE-LABlab(29.77, 53.31, -48.50)
CIE-LCHlch(29.77, 72.07, 317.70°)
OKLaboklab(41.87% 0.1231 -0.1374)
OKLCHoklch(41.87% 0.185 311.9)
XYZxyz(11.9641, 6.1420, 28.1534)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B93 #41931B
analogous
#311B93 #6D1B93 #931B7D
triadic
#6D1B93 #936D1B #1B936D
tetradic
#6D1B93 #93311B #41931B #1B7D93
square
#6D1B93 #93311B #41931B #1B7D93
split-complementary
#6D1B93 #7D931B #1B9331
monochromatic
#20082C #47125F #6D1B93 #9324C7 #AF4BDE

Accessibility & contrast

On white

9.42
#6D1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D1B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B93
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B93#FFFFFF#000000##FFFFFF
##6D1B931.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#683958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1b93;
/* rgb */ color: rgb(109, 27, 147);
/* oklch */ color: oklch(41.9% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#9b63b3',
    500: '#6d1b93',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b93;
$custom-light: #9b63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b93",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 281,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.18453,
    "h": 311.9
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#6D1B93
secondary
#6FC04A
accent
#EC3C74
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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