#6A197D#6A197D

#6A197D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.165 H 319.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#6A197D
RGBrgb(106, 25, 125)
HSLhsl(289, 67%, 29%)
HSVhsv(289, 80%, 49%)
CMYKcmyk(15.2%, 80%, 0%, 51%)
CIE-LABlab(27.41, 48.88, -38.62)
CIE-LCHlch(27.41, 62.29, 321.68°)
OKLaboklab(39.6% 0.1249 -0.1085)
OKLCHoklch(39.6% 0.165 319)
XYZxyz(9.9927, 5.2406, 19.8832)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A197D #2C7D19
analogous
#38197D #6A197D #7D195E
triadic
#6A197D #7D6A19 #197D6A
tetradic
#6A197D #7D3819 #2C7D19 #195E7D
square
#6A197D #7D3819 #2C7D19 #195E7D
split-complementary
#6A197D #5E7D19 #197D38
monochromatic
#16051A #3F0F4A #6A197D #9523B0 #B939D7

Accessibility & contrast

On white

10.25
#6A197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6A197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A197D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A197D#FFFFFF#000000##FFFFFF
##6A197D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#6A2F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a197d;
/* rgb */ color: rgb(106, 25, 125);
/* oklch */ color: oklch(39.6% 0.165 319.0);
Tailwind
colors: {
  custom: {
    50: '#9860a3',
    500: '#6a197d',
    950: '#000000',
  },
}
SCSS
$custom: #6a197d;
$custom-light: #9860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a197d",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 288.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.16548,
    "h": 319
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#6A197D
secondary
#56B140
accent
#EA3E5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6A197D

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

Preview Lab → · Contrast checker → · Palette generator →

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