#6D1995#6D1995

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

Color values

HEX#6D1995
RGBrgb(109, 25, 149)
HSLhsl(281, 71%, 34%)
HSVhsv(281, 83%, 58%)
CMYKcmyk(26.8%, 83.2%, 0%, 41.6%)
CIE-LABlab(29.70, 54.37, -49.84)
CIE-LCHlch(29.70, 73.76, 317.49°)
OKLaboklab(41.88% 0.1242 -0.1413)
OKLCHoklch(41.88% 0.188 311.3)
XYZxyz(12.0781, 6.1167, 28.9723)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1995 #419519
analogous
#2F1995 #6D1995 #95197F
triadic
#6D1995 #956D19 #19956D
tetradic
#6D1995 #952F19 #419519 #197F95
square
#6D1995 #952F19 #419519 #197F95
split-complementary
#6D1995 #7F9519 #19952F
monochromatic
#20072C #471061 #6D1995 #9322C9 #AF48E0

Accessibility & contrast

On white

9.45
#6D1995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D1995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1995
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1995#FFFFFF#000000##FFFFFF
##6D19951.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#683959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1995;
/* rgb */ color: rgb(109, 25, 149);
/* oklch */ color: oklch(41.9% 0.188 311.3);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6d1995',
    950: '#000000',
  },
}
SCSS
$custom: #6d1995;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1995",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 280.645,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.18814,
    "h": 311.3
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#6D1995
secondary
#6FC248
accent
#EE3A74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1995

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

Preview Lab → · Contrast checker → · Palette generator →

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