#6D1A74#6D1A74

#6D1A74 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.158 H 324.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#6D1A74
RGBrgb(109, 26, 116)
HSLhsl(295, 63%, 28%)
HSVhsv(295, 78%, 45%)
CMYKcmyk(6%, 77.6%, 0%, 54.5%)
CIE-LABlab(27.44, 47.44, -32.83)
CIE-LCHlch(27.44, 57.69, 325.32°)
OKLaboklab(39.53% 0.1286 -0.0915)
OKLCHoklch(39.53% 0.158 324.6)
XYZxyz(9.8282, 5.2516, 17.0156)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A74 #21741A
analogous
#401A74 #6D1A74 #741A4E
triadic
#6D1A74 #746D1A #1A746D
tetradic
#6D1A74 #74401A #21741A #1A4E74
square
#6D1A74 #74401A #21741A #1A4E74
split-complementary
#6D1A74 #4E741A #1A7440
monochromatic
#170619 #3E0F42 #6D1A74 #9C25A6 #C636D2

Accessibility & contrast

On white

10.24
#6D1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A74
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A74#FFFFFF#000000##FFFFFF
##6D1A741.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2C4472
Tritanopia (blue-blind)
#6F2A46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1a74;
/* rgb */ color: rgb(109, 26, 116);
/* oklch */ color: oklch(39.5% 0.158 324.6);
Tailwind
colors: {
  custom: {
    50: '#9a619c',
    500: '#6d1a74',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a74;
$custom-light: #9a619c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a74",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 295.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.15782,
    "h": 324.6
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#6D1A74
secondary
#49A941
accent
#E6414E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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