#6A198D#6A198D

#6A198D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.180 H 312.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6A198D
RGBrgb(106, 25, 141)
HSLhsl(282, 70%, 33%)
HSVhsv(282, 82%, 55%)
CMYKcmyk(24.8%, 82.3%, 0%, 44.7%)
CIE-LABlab(28.60, 52.15, -46.72)
CIE-LCHlch(28.60, 70.02, 318.15°)
OKLaboklab(40.81% 0.122 -0.1323)
OKLCHoklch(40.81% 0.18 312.7)
XYZxyz(11.0983, 5.6829, 25.7064)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A198D #3C8D19
analogous
#30198D #6A198D #8D1976
triadic
#6A198D #8D6A19 #198D6A
tetradic
#6A198D #8D3019 #3C8D19 #19768D
square
#6A198D #8D3019 #3C8D19 #19768D
split-complementary
#6A198D #768D19 #198D30
monochromatic
#1C0725 #431059 #6A198D #9122C1 #AF43DE

Accessibility & contrast

On white

9.83
#6A198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6A198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A198D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A198D#FFFFFF#000000##FFFFFF
##6A198D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#663654
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a198d;
/* rgb */ color: rgb(106, 25, 141);
/* oklch */ color: oklch(40.8% 0.180 312.7);
Tailwind
colors: {
  custom: {
    50: '#9961af',
    500: '#6a198d',
    950: '#000000',
  },
}
SCSS
$custom: #6a198d;
$custom-light: #9961af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a198d",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 281.897,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.17995,
    "h": 312.7
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#6A198D
secondary
#68BF43
accent
#ED3B71
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A198D

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

Preview Lab → · Contrast checker → · Palette generator →

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