#6D2A8A#6D2A8A

#6D2A8A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 313.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6D2A8A
RGBrgb(109, 42, 138)
HSLhsl(282, 53%, 35%)
HSVhsv(282, 70%, 54%)
CMYKcmyk(21%, 69.6%, 0%, 45.9%)
CIE-LABlab(31.21, 45.37, -40.61)
CIE-LCHlch(31.21, 60.89, 318.17°)
OKLaboklab(42.69% 0.1098 -0.1144)
OKLCHoklch(42.69% 0.159 313.8)
XYZxyz(11.7213, 6.7425, 24.7238)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A8A #478A2A
analogous
#3D2A8A #6D2A8A #8A2A77
triadic
#6D2A8A #8A6D2A #2A8A6D
tetradic
#6D2A8A #8A3D2A #478A2A #2A778A
square
#6D2A8A #8A3D2A #478A2A #2A778A
split-complementary
#6D2A8A #778A2A #2A8A3D
monochromatic
#230D2C #481C5B #6D2A8A #9238B9 #AD60CF

Accessibility & contrast

On white

8.94
#6D2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A8A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A8A#FFFFFF#000000##FFFFFF
##6D2A8A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#6A3D56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2a8a;
/* rgb */ color: rgb(109, 42, 138);
/* oklch */ color: oklch(42.7% 0.159 313.8);
Tailwind
colors: {
  custom: {
    50: '#9a69ad',
    500: '#6d2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a8a;
$custom-light: #9a69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a8a",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 281.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.15854,
    "h": 313.8
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#6D2A8A
secondary
#76B45B
accent
#DD4B77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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