#6B197B#6B197B

#6B197B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.164 H 320.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#6B197B
RGBrgb(107, 25, 123)
HSLhsl(290, 66%, 29%)
HSVhsv(290, 80%, 48%)
CMYKcmyk(13%, 79.7%, 0%, 51.8%)
CIE-LABlab(27.44, 48.69, -37.30)
CIE-LCHlch(27.44, 61.33, 322.54°)
OKLaboklab(39.61% 0.1265 -0.1046)
OKLCHoklch(39.61% 0.164 320.4)
XYZxyz(9.9858, 5.2517, 19.2227)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197B #297B19
analogous
#3A197B #6B197B #7B195A
triadic
#6B197B #7B6B19 #197B6B
tetradic
#6B197B #7B3A19 #297B19 #195A7B
square
#6B197B #7B3A19 #297B19 #195A7B
split-complementary
#6B197B #5A7B19 #197B3A
monochromatic
#160519 #3F0F48 #6B197B #9723AE #BD38D7

Accessibility & contrast

On white

10.24
#6B197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B197B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197B#FFFFFF#000000##FFFFFF
##6B197B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#234479
Tritanopia (blue-blind)
#6B2D4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197b;
/* rgb */ color: rgb(107, 25, 123);
/* oklch */ color: oklch(39.6% 0.164 320.4);
Tailwind
colors: {
  custom: {
    50: '#9960a2',
    500: '#6b197b',
    950: '#000000',
  },
}
SCSS
$custom: #6b197b;
$custom-light: #9960a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197b",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 290.204,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.16412,
    "h": 320.4
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#6B197B
secondary
#52AF40
accent
#E93F5A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197B

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

Preview Lab → · Contrast checker → · Palette generator →

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