#6D2E71#6D2E71

#6D2E71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.6% C 0.127 H 325.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6D2E71
RGBrgb(109, 46, 113)
HSLhsl(296, 42%, 31%)
HSVhsv(296, 59%, 44%)
CMYKcmyk(3.5%, 59.3%, 0%, 55.7%)
CIE-LABlab(30.40, 38.12, -26.23)
CIE-LCHlch(30.40, 46.28, 325.47°)
OKLaboklab(41.6% 0.1043 -0.0725)
OKLCHoklch(41.6% 0.127 325.2)
XYZxyz(10.2641, 6.3980, 16.3139)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E71 #32712E
analogous
#4B2E71 #6D2E71 #712E53
triadic
#6D2E71 #716D2E #2E716D
tetradic
#6D2E71 #714B2E #32712E #2E5371
square
#6D2E71 #714B2E #32712E #2E5371
split-complementary
#6D2E71 #53712E #2E714B
monochromatic
#190B1A #431C46 #6D2E71 #97409C #B75DBD

Accessibility & contrast

On white

9.21
#6D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E71
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E71#FFFFFF#000000##FFFFFF
##6D2E711.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#6F374B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d2e71;
/* rgb */ color: rgb(109, 46, 113);
/* oklch */ color: oklch(41.6% 0.127 325.2);
Tailwind
colors: {
  custom: {
    50: '#996b9a',
    500: '#6d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e71;
$custom-light: #996b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e71",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 296.418,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.12703,
    "h": 325.2
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#6D2E71
secondary
#5DA258
accent
#D2565D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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