#6A198A#6A198A

#6A198A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.177 H 313.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#6A198A
RGBrgb(106, 25, 138)
HSLhsl(283, 69%, 32%)
HSVhsv(283, 82%, 54%)
CMYKcmyk(23.2%, 81.9%, 0%, 45.9%)
CIE-LABlab(28.37, 51.52, -45.23)
CIE-LCHlch(28.37, 68.56, 318.72°)
OKLaboklab(40.57% 0.1226 -0.1279)
OKLCHoklch(40.57% 0.177 313.8)
XYZxyz(10.8781, 5.5948, 24.5467)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A198A #398A19
analogous
#32198A #6A198A #8A1972
triadic
#6A198A #8A6A19 #198A6A
tetradic
#6A198A #8A3219 #398A19 #19728A
square
#6A198A #8A3219 #398A19 #19728A
split-complementary
#6A198A #728A19 #198A32
monochromatic
#1A0622 #421056 #6A198A #9222BE #B041DD

Accessibility & contrast

On white

9.91
#6A198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6A198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A198A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A198A#FFFFFF#000000##FFFFFF
##6A198A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#673552
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a198a;
/* rgb */ color: rgb(106, 25, 138);
/* oklch */ color: oklch(40.6% 0.177 313.8);
Tailwind
colors: {
  custom: {
    50: '#9961ad',
    500: '#6a198a',
    950: '#000000',
  },
}
SCSS
$custom: #6a198a;
$custom-light: #9961ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a198a",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 283.009,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.17721,
    "h": 313.8
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#6A198A
secondary
#65BD42
accent
#EC3C6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A198A

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

Preview Lab → · Contrast checker → · Palette generator →

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