#6D1F76#6D1F76

#6D1F76 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.154 H 323.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6D1F76
RGBrgb(109, 31, 118)
HSLhsl(294, 58%, 29%)
HSVhsv(294, 74%, 46%)
CMYKcmyk(7.6%, 73.7%, 0%, 53.7%)
CIE-LABlab(28.22, 45.96, -32.86)
CIE-LCHlch(28.22, 56.50, 324.44°)
OKLaboklab(40.12% 0.1234 -0.0916)
OKLCHoklch(40.12% 0.154 323.4)
XYZxyz(10.0664, 5.5398, 17.6751)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F76 #28761F
analogous
#421F76 #6D1F76 #761F54
triadic
#6D1F76 #766D1F #1F766D
tetradic
#6D1F76 #76421F #28761F #1F5476
square
#6D1F76 #76421F #28761F #1F5476
split-complementary
#6D1F76 #54761F #1F7642
monochromatic
#160618 #401246 #6D1F76 #9A2CA6 #BF42CD

Accessibility & contrast

On white

9.96
#6D1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F76
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F76#FFFFFF#000000##FFFFFF
##6D1F761.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D78
Deuteranopia (green-blind)
#2D4674
Tritanopia (blue-blind)
#6F2E48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1f76;
/* rgb */ color: rgb(109, 31, 118);
/* oklch */ color: oklch(40.1% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#9a639e',
    500: '#6d1f76',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f76;
$custom-light: #9a639e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f76",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 293.793,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.15369,
    "h": 323.4
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#6D1F76
secondary
#51AA47
accent
#E24656
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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