#6D2A84#6D2A84

#6D2A84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 316.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6D2A84
RGBrgb(109, 42, 132)
HSLhsl(285, 52%, 34%)
HSVhsv(285, 68%, 52%)
CMYKcmyk(17.4%, 68.2%, 0%, 48.2%)
CIE-LABlab(30.82, 44.06, -37.52)
CIE-LCHlch(30.82, 57.87, 319.58°)
OKLaboklab(42.27% 0.1102 -0.1053)
OKLCHoklch(42.27% 0.152 316.3)
XYZxyz(11.2989, 6.5735, 22.4990)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A84 #41842A
analogous
#402A84 #6D2A84 #842A6E
triadic
#6D2A84 #846D2A #2A846D
tetradic
#6D2A84 #84402A #41842A #2A6E84
square
#6D2A84 #84402A #41842A #2A6E84
split-complementary
#6D2A84 #6E842A #2A8440
monochromatic
#200C27 #471B56 #6D2A84 #9339B2 #AF5DCB

Accessibility & contrast

On white

9.07
#6D2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A84
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A84#FFFFFF#000000##FFFFFF
##6D2A841.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#6C3B53
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2a84;
/* rgb */ color: rgb(109, 42, 132);
/* oklch */ color: oklch(42.3% 0.152 316.3);
Tailwind
colors: {
  custom: {
    50: '#9a69a8',
    500: '#6d2a84',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a84;
$custom-light: #9a69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a84",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 284.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.15241,
    "h": 316.3
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#6D2A84
secondary
#6FB159
accent
#DB4D71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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