#6B198D#6B198D

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

Color values

HEX#6B198D
RGBrgb(107, 25, 141)
HSLhsl(282, 70%, 33%)
HSVhsv(282, 82%, 55%)
CMYKcmyk(24.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(28.76, 52.34, -46.45)
CIE-LCHlch(28.76, 69.98, 318.41°)
OKLaboklab(40.95% 0.1233 -0.1315)
OKLCHoklch(40.95% 0.18 313.2)
XYZxyz(11.2179, 5.7445, 25.7120)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B198D #3B8D19
analogous
#31198D #6B198D #8D1975
triadic
#6B198D #8D6B19 #198D6B
tetradic
#6B198D #8D3119 #3B8D19 #19758D
square
#6B198D #8D3119 #3B8D19 #19758D
split-complementary
#6B198D #758D19 #198D31
monochromatic
#1C0725 #441059 #6B198D #9222C1 #B043DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B198D#FFFFFF#000000##FFFFFF
##6B198D1.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)
#004090
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#673654
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b198d;
/* rgb */ color: rgb(107, 25, 141);
/* oklch */ color: oklch(41.0% 0.180 313.2);
Tailwind
colors: {
  custom: {
    50: '#9a61af',
    500: '#6b198d',
    950: '#000000',
  },
}
SCSS
$custom: #6b198d;
$custom-light: #9a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b198d",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 282.414,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.18027,
    "h": 313.2
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#6B198D
secondary
#67BF43
accent
#ED3B6F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B198D

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

Preview Lab → · Contrast checker → · Palette generator →

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