#6C198D#6C198D

#6C198D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.181 H 313.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6C198D
RGBrgb(108, 25, 141)
HSLhsl(283, 70%, 33%)
HSVhsv(283, 82%, 55%)
CMYKcmyk(23.4%, 82.3%, 0%, 44.7%)
CIE-LABlab(28.92, 52.52, -46.18)
CIE-LCHlch(28.92, 69.93, 318.67°)
OKLaboklab(41.1% 0.1247 -0.1306)
OKLCHoklch(41.1% 0.181 313.7)
XYZxyz(11.3388, 5.8069, 25.7177)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C198D #3A8D19
analogous
#32198D #6C198D #8D1974
triadic
#6C198D #8D6C19 #198D6C
tetradic
#6C198D #8D3219 #3A8D19 #19748D
square
#6C198D #8D3219 #3A8D19 #19748D
split-complementary
#6C198D #748D19 #198D32
monochromatic
#1C0725 #441059 #6C198D #9422C1 #B243DE

Accessibility & contrast

On white

9.72
#6C198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6C198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C198D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C198D#FFFFFF#000000##FFFFFF
##6C198D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#693654
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c198d;
/* rgb */ color: rgb(108, 25, 141);
/* oklch */ color: oklch(41.1% 0.181 313.7);
Tailwind
colors: {
  custom: {
    50: '#9a61af',
    500: '#6c198d',
    950: '#000000',
  },
}
SCSS
$custom: #6c198d;
$custom-light: #9a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c198d",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 282.931,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.1806,
    "h": 313.7
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#6C198D
secondary
#66BF43
accent
#ED3B6E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6C198D

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

Preview Lab → · Contrast checker → · Palette generator →

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