#6D1A94#6D1A94

#6D1A94 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.186 H 311.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#6D1A94
RGBrgb(109, 26, 148)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(26.4%, 82.4%, 0%, 42%)
CIE-LABlab(29.73, 53.84, -49.17)
CIE-LCHlch(29.73, 72.92, 317.60°)
OKLaboklab(41.87% 0.1237 -0.1394)
OKLCHoklch(41.87% 0.186 311.6)
XYZxyz(12.0204, 6.1284, 28.5609)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A94 #41941A
analogous
#301A94 #6D1A94 #941A7E
triadic
#6D1A94 #946D1A #1A946D
tetradic
#6D1A94 #94301A #41941A #1A7E94
square
#6D1A94 #94301A #41941A #1A7E94
split-complementary
#6D1A94 #7E941A #1A9430
monochromatic
#20082C #471160 #6D1A94 #9323C8 #AF49DF

Accessibility & contrast

On white

9.44
#6D1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A94
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A94#FFFFFF#000000##FFFFFF
##6D1A941.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#683958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1a94;
/* rgb */ color: rgb(109, 26, 148);
/* oklch */ color: oklch(41.9% 0.186 311.6);
Tailwind
colors: {
  custom: {
    50: '#9c62b4',
    500: '#6d1a94',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a94;
$custom-light: #9c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a94",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 280.82,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.18636,
    "h": 311.6
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#6D1A94
secondary
#6FC149
accent
#ED3B74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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