#6D1A93#6D1A93

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

Color values

HEX#6D1A93
RGBrgb(109, 26, 147)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(25.9%, 82.3%, 0%, 42.4%)
CIE-LABlab(29.66, 53.63, -48.69)
CIE-LCHlch(29.66, 72.44, 317.77°)
OKLaboklab(41.79% 0.1239 -0.138)
OKLCHoklch(41.79% 0.185 311.9)
XYZxyz(11.9415, 6.0969, 28.1459)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A93 #40931A
analogous
#311A93 #6D1A93 #931A7D
triadic
#6D1A93 #936D1A #1A936D
tetradic
#6D1A93 #93311A #40931A #1A7D93
square
#6D1A93 #93311A #40931A #1A7D93
split-complementary
#6D1A93 #7D931A #1A9331
monochromatic
#20082B #46115F #6D1A93 #9423C7 #B049DF

Accessibility & contrast

On white

9.46
#6D1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A93
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A93#FFFFFF#000000##FFFFFF
##6D1A931.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1a93;
/* rgb */ color: rgb(109, 26, 147);
/* oklch */ color: oklch(41.8% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#9b62b3',
    500: '#6d1a93',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a93;
$custom-light: #9b62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a93",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 281.157,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.18544,
    "h": 311.9
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#6D1A93
secondary
#6EC048
accent
#ED3B73
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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