#6A197E#6A197E

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

Color values

HEX#6A197E
RGBrgb(106, 25, 126)
HSLhsl(288, 67%, 30%)
HSVhsv(288, 80%, 49%)
CMYKcmyk(15.9%, 80.2%, 0%, 50.6%)
CIE-LABlab(27.48, 49.07, -39.14)
CIE-LCHlch(27.48, 62.77, 321.42°)
OKLaboklab(39.67% 0.1248 -0.11)
OKLCHoklch(39.67% 0.166 318.6)
XYZxyz(10.0569, 5.2663, 20.2214)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A197E #2D7E19
analogous
#38197E #6A197E #7E1960
triadic
#6A197E #7E6A19 #197E6A
tetradic
#6A197E #7E3819 #2D7E19 #19607E
square
#6A197E #7E3819 #2D7E19 #19607E
split-complementary
#6A197E #607E19 #197E38
monochromatic
#15051A #3F0F4B #6A197E #9523B1 #B83AD8

Accessibility & contrast

On white

10.23
#6A197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A197E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A197E#FFFFFF#000000##FFFFFF
##6A197E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#6A2F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a197e;
/* rgb */ color: rgb(106, 25, 126);
/* oklch */ color: oklch(39.7% 0.166 318.6);
Tailwind
colors: {
  custom: {
    50: '#9860a4',
    500: '#6a197e',
    950: '#000000',
  },
}
SCSS
$custom: #6a197e;
$custom-light: #9860a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a197e",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 288.119,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.16638,
    "h": 318.6
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#6A197E
secondary
#57B241
accent
#EA3E60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6A197E

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

Preview Lab → · Contrast checker → · Palette generator →

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