#6B197F#6B197F

#6B197F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.168 H 318.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6B197F
RGBrgb(107, 25, 127)
HSLhsl(288, 67%, 30%)
HSVhsv(288, 80%, 50%)
CMYKcmyk(15.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(27.72, 49.48, -39.38)
CIE-LCHlch(27.72, 63.23, 321.49°)
OKLaboklab(39.89% 0.1259 -0.1107)
OKLCHoklch(39.89% 0.168 318.7)
XYZxyz(10.2413, 5.3539, 20.5685)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197F #2D7F19
analogous
#38197F #6B197F #7F1960
triadic
#6B197F #7F6B19 #197F6B
tetradic
#6B197F #7F3819 #2D7F19 #19607F
square
#6B197F #7F3819 #2D7F19 #19607F
split-complementary
#6B197F #607F19 #197F38
monochromatic
#16051A #400F4C #6B197F #9623B2 #B93AD8

Accessibility & contrast

On white

10.14
#6B197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B197F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197F#FFFFFF#000000##FFFFFF
##6B197F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#6B2F4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197f;
/* rgb */ color: rgb(107, 25, 127);
/* oklch */ color: oklch(39.9% 0.168 318.7);
Tailwind
colors: {
  custom: {
    50: '#9960a5',
    500: '#6b197f',
    950: '#000000',
  },
}
SCSS
$custom: #6b197f;
$custom-light: #9960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197f",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 288.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.16767,
    "h": 318.7
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#6B197F
secondary
#57B341
accent
#EA3E60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197F

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

Preview Lab → · Contrast checker → · Palette generator →

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