#6D2C8A#6D2C8A

#6D2C8A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.156 H 313.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6D2C8A
RGBrgb(109, 44, 138)
HSLhsl(281, 52%, 36%)
HSVhsv(281, 68%, 54%)
CMYKcmyk(21%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.55, 44.43, -40.07)
CIE-LCHlch(31.55, 59.83, 317.95°)
OKLaboklab(42.93% 0.1074 -0.1128)
OKLCHoklch(42.93% 0.156 313.6)
XYZxyz(11.7940, 6.8879, 24.7481)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2C8A #498A2C
analogous
#3E2C8A #6D2C8A #8A2C78
triadic
#6D2C8A #8A6D2C #2C8A6D
tetradic
#6D2C8A #8A3E2C #498A2C #2C788A
square
#6D2C8A #8A3E2C #498A2C #2C788A
split-complementary
#6D2C8A #788A2C #2C8A3E
monochromatic
#240E2D #481D5C #6D2C8A #923BB8 #AD63CD

Accessibility & contrast

On white

8.83
#6D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6D2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2C8A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2C8A#FFFFFF#000000##FFFFFF
##6D2C8A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#6A3F57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2c8a;
/* rgb */ color: rgb(109, 44, 138);
/* oklch */ color: oklch(42.9% 0.156 313.6);
Tailwind
colors: {
  custom: {
    50: '#9a6aad',
    500: '#6d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d2c8a;
$custom-light: #9a6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2c8a",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 281.489,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.15577,
    "h": 313.6
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#6D2C8A
secondary
#79B45E
accent
#DB4D79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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