#6D2D8B#6D2D8B

#6D2D8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.155 H 313.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6D2D8B
RGBrgb(109, 45, 139)
HSLhsl(281, 51%, 36%)
HSVhsv(281, 68%, 55%)
CMYKcmyk(21.6%, 67.6%, 0%, 45.5%)
CIE-LABlab(31.79, 44.18, -40.31)
CIE-LCHlch(31.79, 59.80, 317.62°)
OKLaboklab(43.12% 0.1062 -0.1135)
OKLCHoklch(43.12% 0.155 313.1)
XYZxyz(11.9044, 6.9924, 25.1437)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D8B #4B8B2D
analogous
#3E2D8B #6D2D8B #8B2D7A
triadic
#6D2D8B #8B6D2D #2D8B6D
tetradic
#6D2D8B #8B3E2D #4B8B2D #2D7A8B
square
#6D2D8B #8B3E2D #4B8B2D #2D7A8B
split-complementary
#6D2D8B #7A8B2D #2D8B3E
monochromatic
#240F2F #491E5D #6D2D8B #913CB9 #AC65CD

Accessibility & contrast

On white

8.76
#6D2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6D2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D8B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D8B#FFFFFF#000000##FFFFFF
##6D2D8B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#6A4058
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2d8b;
/* rgb */ color: rgb(109, 45, 139);
/* oklch */ color: oklch(43.1% 0.155 313.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bad',
    500: '#6d2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d8b;
$custom-light: #9a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d8b",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 280.851,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.15541,
    "h": 313.1
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#6D2D8B
secondary
#7BB460
accent
#DB4D7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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