#6C2D71#6C2D71

#6C2D71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.3% C 0.128 H 324.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6C2D71
RGBrgb(108, 45, 113)
HSLhsl(296, 43%, 31%)
HSVhsv(296, 60%, 44%)
CMYKcmyk(4.4%, 60.2%, 0%, 55.7%)
CIE-LABlab(30.05, 38.34, -26.78)
CIE-LCHlch(30.05, 46.77, 325.07°)
OKLaboklab(41.32% 0.1045 -0.0741)
OKLCHoklch(41.32% 0.128 324.7)
XYZxyz(10.1031, 6.2577, 16.2953)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D71 #32712D
analogous
#4A2D71 #6C2D71 #712D54
triadic
#6C2D71 #716C2D #2D716C
tetradic
#6C2D71 #714A2D #32712D #2D5471
square
#6C2D71 #714A2D #32712D #2D5471
split-complementary
#6C2D71 #54712D #2D714A
monochromatic
#180A19 #421C45 #6C2D71 #963E9D #B65BBE

Accessibility & contrast

On white

9.33
#6C2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D71
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D71#FFFFFF#000000##FFFFFF
##6C2D711.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#6E364A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c2d71;
/* rgb */ color: rgb(108, 45, 113);
/* oklch */ color: oklch(41.3% 0.128 324.7);
Tailwind
colors: {
  custom: {
    50: '#986a9a',
    500: '#6c2d71',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d71;
$custom-light: #986a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d71",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 295.588,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.12808,
    "h": 324.7
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#6C2D71
secondary
#5DA357
accent
#D3555E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6C2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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