#6D2F82#6D2F82

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

Color values

HEX#6D2F82
RGBrgb(109, 47, 130)
HSLhsl(285, 47%, 35%)
HSVhsv(285, 64%, 51%)
CMYKcmyk(16.2%, 63.8%, 0%, 49%)
CIE-LABlab(31.57, 41.19, -35.07)
CIE-LCHlch(31.57, 54.10, 319.59°)
OKLaboklab(42.78% 0.1039 -0.0982)
OKLCHoklch(42.78% 0.143 316.6)
XYZxyz(11.3519, 6.8964, 21.8479)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2F82 #44822F
analogous
#432F82 #6D2F82 #822F6E
triadic
#6D2F82 #826D2F #2F826D
tetradic
#6D2F82 #82432F #44822F #2F6E82
square
#6D2F82 #82432F #44822F #2F6E82
split-complementary
#6D2F82 #6E822F #2F8243
monochromatic
#220E28 #471F55 #6D2F82 #933FAF #AE64C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2F82#FFFFFF#000000##FFFFFF
##6D2F821.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)
#154685
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#6C3E54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2f82;
/* rgb */ color: rgb(109, 47, 130);
/* oklch */ color: oklch(42.8% 0.143 316.6);
Tailwind
colors: {
  custom: {
    50: '#996ca7',
    500: '#6d2f82',
    950: '#000000',
  },
}
SCSS
$custom: #6d2f82;
$custom-light: #996ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2f82",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 284.819,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.14294,
    "h": 316.6
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#6D2F82
secondary
#73AE5F
accent
#D75173
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6D2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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