#6B197E#6B197E

#6B197E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.167 H 319.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#6B197E
RGBrgb(107, 25, 126)
HSLhsl(289, 67%, 30%)
HSVhsv(289, 80%, 49%)
CMYKcmyk(15.1%, 80.2%, 0%, 50.6%)
CIE-LABlab(27.65, 49.28, -38.86)
CIE-LCHlch(27.65, 62.76, 321.74°)
OKLaboklab(39.82% 0.1261 -0.1092)
OKLCHoklch(39.82% 0.167 319.1)
XYZxyz(10.1764, 5.3279, 20.2270)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197E #2C7E19
analogous
#39197E #6B197E #7E195F
triadic
#6B197E #7E6B19 #197E6B
tetradic
#6B197E #7E3919 #2C7E19 #195F7E
square
#6B197E #7E3919 #2C7E19 #195F7E
split-complementary
#6B197E #5F7E19 #197E39
monochromatic
#16051A #400F4B #6B197E #9623B1 #BA3AD8

Accessibility & contrast

On white

10.17
#6B197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6B197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B197E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197E#FFFFFF#000000##FFFFFF
##6B197E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#6B2F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197e;
/* rgb */ color: rgb(107, 25, 126);
/* oklch */ color: oklch(39.8% 0.167 319.1);
Tailwind
colors: {
  custom: {
    50: '#9960a4',
    500: '#6b197e',
    950: '#000000',
  },
}
SCSS
$custom: #6b197e;
$custom-light: #9960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197e",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 288.713,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.16677,
    "h": 319.1
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#6B197E
secondary
#56B241
accent
#EA3E5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197E

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

Preview Lab → · Contrast checker → · Palette generator →

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