#6D2193#6D2193

#6D2193 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.178 H 311.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6D2193
RGBrgb(109, 33, 147)
HSLhsl(280, 63%, 35%)
HSVhsv(280, 78%, 58%)
CMYKcmyk(25.9%, 77.6%, 0%, 42.4%)
CIE-LABlab(30.51, 51.16, -47.30)
CIE-LCHlch(30.51, 69.68, 317.25°)
OKLaboklab(42.39% 0.118 -0.134)
OKLCHoklch(42.39% 0.178 311.4)
XYZxyz(12.1160, 6.4458, 28.2040)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2193 #479321
analogous
#342193 #6D2193 #932180
triadic
#6D2193 #936D21 #21936D
tetradic
#6D2193 #933421 #479321 #218093
square
#6D2193 #933421 #479321 #218093
split-complementary
#6D2193 #809321 #219334
monochromatic
#230B2F #481661 #6D2193 #922CC5 #AD55D9

Accessibility & contrast

On white

9.17
#6D2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6D2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2193
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2193#FFFFFF#000000##FFFFFF
##6D21931.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#094991
Tritanopia (blue-blind)
#683C59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d2193;
/* rgb */ color: rgb(109, 33, 147);
/* oklch */ color: oklch(42.4% 0.178 311.4);
Tailwind
colors: {
  custom: {
    50: '#9b65b3',
    500: '#6d2193',
    950: '#000000',
  },
}
SCSS
$custom: #6d2193;
$custom-light: #9b65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2193",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 280,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.17849,
    "h": 311.4
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#6D2193
secondary
#76BD53
accent
#E64178
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2193

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

Preview Lab → · Contrast checker → · Palette generator →

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