#6D1895#6D1895

#6D1895 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 311.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6D1895
RGBrgb(109, 24, 149)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 58%)
CMYKcmyk(26.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.60, 54.68, -50.01)
CIE-LCHlch(29.60, 74.10, 317.55°)
OKLaboklab(41.8% 0.1249 -0.1418)
OKLCHoklch(41.8% 0.189 311.4)
XYZxyz(12.0571, 6.0747, 28.9653)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1895 #409518
analogous
#2F1895 #6D1895 #95187F
triadic
#6D1895 #956D18 #18956D
tetradic
#6D1895 #952F18 #409518 #187F95
square
#6D1895 #952F18 #409518 #187F95
split-complementary
#6D1895 #7F9518 #18952F
monochromatic
#20072C #461060 #6D1895 #9420CA #B046E1

Accessibility & contrast

On white

9.48
#6D1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1895
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1895#FFFFFF#000000##FFFFFF
##6D18951.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1895;
/* rgb */ color: rgb(109, 24, 149);
/* oklch */ color: oklch(41.8% 0.189 311.4);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6d1895',
    950: '#000000',
  },
}
SCSS
$custom: #6d1895;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1895",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 280.8,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.189,
    "h": 311.4
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#6D1895
secondary
#6EC246
accent
#EF3973
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1895

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

Preview Lab → · Contrast checker → · Palette generator →

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