#6D1893#6D1893

#6D1893 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.187 H 312.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6D1893
RGBrgb(109, 24, 147)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 58%)
CMYKcmyk(25.9%, 83.7%, 0%, 42.4%)
CIE-LABlab(29.44, 54.26, -49.04)
CIE-LCHlch(29.44, 73.13, 317.89°)
OKLaboklab(41.64% 0.1254 -0.139)
OKLCHoklch(41.64% 0.187 312.1)
XYZxyz(11.8988, 6.0114, 28.1316)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1893 #3E9318
analogous
#2F1893 #6D1893 #93187B
triadic
#6D1893 #936D18 #18936D
tetradic
#6D1893 #932F18 #3E9318 #187B93
square
#6D1893 #932F18 #3E9318 #187B93
split-complementary
#6D1893 #7B9318 #18932F
monochromatic
#1F072A #460F5E #6D1893 #9421C8 #B045E1

Accessibility & contrast

On white

9.54
#6D1893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D1893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1893
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1893#FFFFFF#000000##FFFFFF
##6D18931.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#683857
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1893;
/* rgb */ color: rgb(109, 24, 147);
/* oklch */ color: oklch(41.6% 0.187 312.1);
Tailwind
colors: {
  custom: {
    50: '#9c61b3',
    500: '#6d1893',
    950: '#000000',
  },
}
SCSS
$custom: #6d1893;
$custom-light: #9c61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1893",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 281.463,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.1872,
    "h": 312.1
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#6D1893
secondary
#6CC245
accent
#EF3971
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1893

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

Preview Lab → · Contrast checker → · Palette generator →

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