#6D197B#6D197B

#6D197B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.165 H 321.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#6D197B
RGBrgb(109, 25, 123)
HSLhsl(291, 66%, 29%)
HSVhsv(291, 80%, 48%)
CMYKcmyk(11.4%, 79.7%, 0%, 51.8%)
CIE-LABlab(27.78, 49.11, -36.73)
CIE-LCHlch(27.78, 61.33, 323.21°)
OKLaboklab(39.92% 0.129 -0.1029)
OKLCHoklch(39.92% 0.165 321.4)
XYZxyz(10.2291, 5.3771, 19.2341)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D197B #277B19
analogous
#3C197B #6D197B #7B1958
triadic
#6D197B #7B6D19 #197B6D
tetradic
#6D197B #7B3C19 #277B19 #19587B
square
#6D197B #7B3C19 #277B19 #19587B
split-complementary
#6D197B #587B19 #197B3C
monochromatic
#170519 #400F48 #6D197B #9A23AE #C038D7

Accessibility & contrast

On white

10.12
#6D197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D197B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D197B#FFFFFF#000000##FFFFFF
##6D197B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#6E2D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d197b;
/* rgb */ color: rgb(109, 25, 123);
/* oklch */ color: oklch(39.9% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#9a61a2',
    500: '#6d197b',
    950: '#000000',
  },
}
SCSS
$custom: #6d197b;
$custom-light: #9a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d197b",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 291.429,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.16497,
    "h": 321.4
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#6D197B
secondary
#50AF40
accent
#E93F57
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D197B

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

Preview Lab → · Contrast checker → · Palette generator →

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