#6D1276#6D1276

#6D1276 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.167 H 323.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6D1276
RGBrgb(109, 18, 118)
HSLhsl(295, 74%, 27%)
HSVhsv(295, 85%, 46%)
CMYKcmyk(7.6%, 84.7%, 0%, 53.7%)
CIE-LABlab(26.71, 50.29, -35.27)
CIE-LCHlch(26.71, 61.43, 324.96°)
OKLaboklab(39.05% 0.1352 -0.0986)
OKLCHoklch(39.05% 0.167 323.9)
XYZxyz(9.7927, 4.9925, 17.5839)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1276 #1B7612
analogous
#3B1276 #6D1276 #76124D
triadic
#6D1276 #766D12 #12766D
tetradic
#6D1276 #763B12 #1B7612 #124D76
square
#6D1276 #763B12 #1B7612 #124D76
split-complementary
#6D1276 #4D7612 #12763B
monochromatic
#19041B #3C0A41 #6D1276 #9E1AAB #CD25DE

Accessibility & contrast

On white

10.51
#6D1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6D1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1276
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1276#FFFFFF#000000##FFFFFF
##6D12761.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6F2745
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1276;
/* rgb */ color: rgb(109, 18, 118);
/* oklch */ color: oklch(39.1% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#9a5e9e',
    500: '#6d1276',
    950: '#000000',
  },
}
SCSS
$custom: #6d1276;
$custom-light: #9a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1276",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 294.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39052,
    "c": 0.16734,
    "h": 323.9
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#6D1276
secondary
#42AD37
accent
#F03848
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1276

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

Preview Lab → · Contrast checker → · Palette generator →

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