#6B198A#6B198A

#6B198A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.178 H 314.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6B198A
RGBrgb(107, 25, 138)
HSLhsl(284, 69%, 32%)
HSVhsv(284, 82%, 54%)
CMYKcmyk(22.5%, 81.9%, 0%, 45.9%)
CIE-LABlab(28.53, 51.71, -44.96)
CIE-LCHlch(28.53, 68.52, 319.00°)
OKLaboklab(40.72% 0.124 -0.1271)
OKLCHoklch(40.72% 0.178 314.3)
XYZxyz(10.9977, 5.6564, 24.5523)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B198A #388A19
analogous
#33198A #6B198A #8A1971
triadic
#6B198A #8A6B19 #198A6B
tetradic
#6B198A #8A3319 #388A19 #19718A
square
#6B198A #8A3319 #388A19 #19718A
split-complementary
#6B198A #718A19 #198A33
monochromatic
#1B0622 #431056 #6B198A #9322BE #B241DD

Accessibility & contrast

On white

9.85
#6B198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B198A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B198A#FFFFFF#000000##FFFFFF
##6B198A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b198a;
/* rgb */ color: rgb(107, 25, 138);
/* oklch */ color: oklch(40.7% 0.178 314.3);
Tailwind
colors: {
  custom: {
    50: '#9a61ad',
    500: '#6b198a',
    950: '#000000',
  },
}
SCSS
$custom: #6b198a;
$custom-light: #9a61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b198a",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 283.54,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.17755,
    "h": 314.3
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#6B198A
secondary
#63BD42
accent
#EC3C6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B198A

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

Preview Lab → · Contrast checker → · Palette generator →

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