#6A197A#6A197A

#6A197A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.163 H 320.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#6A197A
RGBrgb(106, 25, 122)
HSLhsl(290, 66%, 29%)
HSVhsv(290, 80%, 48%)
CMYKcmyk(13.1%, 79.5%, 0%, 52.2%)
CIE-LABlab(27.20, 48.28, -37.06)
CIE-LCHlch(27.20, 60.87, 322.49°)
OKLaboklab(39.38% 0.1253 -0.1039)
OKLCHoklch(39.38% 0.163 320.3)
XYZxyz(9.8039, 5.1651, 18.8891)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A197A #297A19
analogous
#3A197A #6A197A #7A195A
triadic
#6A197A #7A6A19 #197A6A
tetradic
#6A197A #7A3A19 #297A19 #195A7A
square
#6A197A #7A3A19 #297A19 #195A7A
split-complementary
#6A197A #5A7A19 #197A3A
monochromatic
#160519 #3E0F47 #6A197A #9623AD #BC37D6

Accessibility & contrast

On white

10.33
#6A197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A197A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A197A#FFFFFF#000000##FFFFFF
##6A197A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#6A2D49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a197a;
/* rgb */ color: rgb(106, 25, 122);
/* oklch */ color: oklch(39.4% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#9860a1',
    500: '#6a197a',
    950: '#000000',
  },
}
SCSS
$custom: #6a197a;
$custom-light: #9860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a197a",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 290.103,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.16281,
    "h": 320.3
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#6A197A
secondary
#52AF40
accent
#E93F5B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6A197A

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

Preview Lab → · Contrast checker → · Palette generator →

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