#6D1C94#6D1C94

#6D1C94 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 311.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6D1C94
RGBrgb(109, 28, 148)
HSLhsl(281, 68%, 35%)
HSVhsv(281, 81%, 58%)
CMYKcmyk(26.4%, 81.1%, 0%, 42%)
CIE-LABlab(29.96, 53.18, -48.81)
CIE-LCHlch(29.96, 72.18, 317.46°)
OKLaboklab(42.03% 0.1221 -0.1383)
OKLCHoklch(42.03% 0.185 311.4)
XYZxyz(12.0662, 6.2202, 28.5762)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C94 #43941C
analogous
#311C94 #6D1C94 #941C7F
triadic
#6D1C94 #946D1C #1C946D
tetradic
#6D1C94 #94311C #43941C #1C7F94
square
#6D1C94 #94311C #43941C #1C7F94
split-complementary
#6D1C94 #7F941C #1C9431
monochromatic
#21092D #471261 #6D1C94 #9326C7 #AE4DDD

Accessibility & contrast

On white

9.36
#6D1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D1C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C94
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C94#FFFFFF#000000##FFFFFF
##6D1C941.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#683A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1c94;
/* rgb */ color: rgb(109, 28, 148);
/* oklch */ color: oklch(42.0% 0.185 311.4);
Tailwind
colors: {
  custom: {
    50: '#9b63b4',
    500: '#6d1c94',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c94;
$custom-light: #9b63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c94",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 280.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.18452,
    "h": 311.4
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#6D1C94
secondary
#72C04C
accent
#EB3D75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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