#6E197F#6E197F

#6E197F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.169 H 320.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6E197F
RGBrgb(110, 25, 127)
HSLhsl(290, 67%, 30%)
HSVhsv(290, 80%, 50%)
CMYKcmyk(13.4%, 80.3%, 0%, 50.2%)
CIE-LABlab(28.23, 50.09, -38.53)
CIE-LCHlch(28.23, 63.20, 322.43°)
OKLaboklab(40.35% 0.1297 -0.1081)
OKLCHoklch(40.35% 0.169 320.2)
XYZxyz(10.6083, 5.5431, 20.5857)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E197F #2A7F19
analogous
#3B197F #6E197F #7F195D
triadic
#6E197F #7F6E19 #197F6E
tetradic
#6E197F #7F3B19 #2A7F19 #195D7F
square
#6E197F #7F3B19 #2A7F19 #195D7F
split-complementary
#6E197F #5D7F19 #197F3B
monochromatic
#16051A #420F4C #6E197F #9A23B2 #BE3AD8

Accessibility & contrast

On white

9.96
#6E197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E197F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E197F#FFFFFF#000000##FFFFFF
##6E197F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#24457D
Tritanopia (blue-blind)
#6E2F4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e197f;
/* rgb */ color: rgb(110, 25, 127);
/* oklch */ color: oklch(40.4% 0.169 320.2);
Tailwind
colors: {
  custom: {
    50: '#9b61a5',
    500: '#6e197f',
    950: '#000000',
  },
}
SCSS
$custom: #6e197f;
$custom-light: #9b61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e197f",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 290,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.16888,
    "h": 320.2
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#6E197F
secondary
#54B341
accent
#EA3E5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E197F

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

Preview Lab → · Contrast checker → · Palette generator →

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