#6A197F#6A197F

#6A197F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.167 H 318.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6A197F
RGBrgb(106, 25, 127)
HSLhsl(288, 67%, 30%)
HSVhsv(288, 80%, 50%)
CMYKcmyk(16.5%, 80.3%, 0%, 50.2%)
CIE-LABlab(27.55, 49.27, -39.66)
CIE-LCHlch(27.55, 63.25, 321.17°)
OKLaboklab(39.74% 0.1246 -0.1116)
OKLCHoklch(39.74% 0.167 318.2)
XYZxyz(10.1217, 5.2922, 20.5629)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A197F #2E7F19
analogous
#37197F #6A197F #7F1961
triadic
#6A197F #7F6A19 #197F6A
tetradic
#6A197F #7F3719 #2E7F19 #19617F
square
#6A197F #7F3719 #2E7F19 #19617F
split-complementary
#6A197F #617F19 #197F37
monochromatic
#15051A #3F0F4C #6A197F #9523B2 #B83AD8

Accessibility & contrast

On white

10.20
#6A197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A197F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A197F#FFFFFF#000000##FFFFFF
##6A197F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1E447D
Tritanopia (blue-blind)
#69304C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a197f;
/* rgb */ color: rgb(106, 25, 127);
/* oklch */ color: oklch(39.7% 0.167 318.2);
Tailwind
colors: {
  custom: {
    50: '#9860a5',
    500: '#6a197f',
    950: '#000000',
  },
}
SCSS
$custom: #6a197f;
$custom-light: #9860a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a197f",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 287.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.16727,
    "h": 318.2
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#6A197F
secondary
#58B341
accent
#EA3E61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6A197F

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

Preview Lab → · Contrast checker → · Palette generator →

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