#6A198F#6A198F

#6A198F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.182 H 312.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6A198F
RGBrgb(106, 25, 143)
HSLhsl(281, 70%, 33%)
HSVhsv(281, 83%, 56%)
CMYKcmyk(25.9%, 82.5%, 0%, 43.9%)
CIE-LABlab(28.75, 52.58, -47.70)
CIE-LCHlch(28.75, 70.99, 317.78°)
OKLaboklab(40.97% 0.1215 -0.1352)
OKLCHoklch(40.97% 0.182 312)
XYZxyz(11.2485, 5.7429, 26.4972)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A198F #3E8F19
analogous
#2F198F #6A198F #8F1979
triadic
#6A198F #8F6A19 #198F6A
tetradic
#6A198F #8F2F19 #3E8F19 #19798F
square
#6A198F #8F2F19 #3E8F19 #19798F
split-complementary
#6A198F #798F19 #198F2F
monochromatic
#1D0727 #43105B #6A198F #9122C3 #AE44DE

Accessibility & contrast

On white

9.77
#6A198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6A198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A198F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A198F#FFFFFF#000000##FFFFFF
##6A198F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#653755
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a198f;
/* rgb */ color: rgb(106, 25, 143);
/* oklch */ color: oklch(41.0% 0.182 312.0);
Tailwind
colors: {
  custom: {
    50: '#9961b1',
    500: '#6a198f',
    950: '#000000',
  },
}
SCSS
$custom: #6a198f;
$custom-light: #9961b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a198f",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 281.186,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.18178,
    "h": 312
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#6A198F
secondary
#6BBF44
accent
#ED3B73
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #6A198F

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

Preview Lab → · Contrast checker → · Palette generator →

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