#6D2A85#6D2A85

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

Color values

HEX#6D2A85
RGBrgb(109, 42, 133)
HSLhsl(284, 52%, 34%)
HSVhsv(284, 68%, 52%)
CMYKcmyk(18%, 68.4%, 0%, 47.8%)
CIE-LABlab(30.88, 44.27, -38.04)
CIE-LCHlch(30.88, 58.37, 319.33°)
OKLaboklab(42.34% 0.1101 -0.1068)
OKLCHoklch(42.34% 0.153 315.9)
XYZxyz(11.3676, 6.6010, 22.8611)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A85 #42852A
analogous
#402A85 #6D2A85 #852A70
triadic
#6D2A85 #856D2A #2A856D
tetradic
#6D2A85 #85402A #42852A #2A7085
square
#6D2A85 #85402A #42852A #2A7085
split-complementary
#6D2A85 #70852A #2A8540
monochromatic
#210D28 #471B56 #6D2A85 #9339B4 #AF5DCC

Accessibility & contrast

On white

9.05
#6D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A85
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A85#FFFFFF#000000##FFFFFF
##6D2A851.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#294B83
Tritanopia (blue-blind)
#6B3B54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2a85;
/* rgb */ color: rgb(109, 42, 133);
/* oklch */ color: oklch(42.3% 0.153 315.9);
Tailwind
colors: {
  custom: {
    50: '#9a69a9',
    500: '#6d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a85;
$custom-light: #9a69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a85",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 284.176,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.15342,
    "h": 315.9
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#6D2A85
secondary
#70B259
accent
#DB4C72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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