#6B196D#6B196D

#6B196D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.152 H 327.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6B196D
RGBrgb(107, 25, 109)
HSLhsl(299, 63%, 26%)
HSVhsv(299, 77%, 43%)
CMYKcmyk(1.8%, 77.1%, 0%, 57.3%)
CIE-LABlab(26.52, 46.05, -29.82)
CIE-LCHlch(26.52, 54.86, 327.07°)
OKLaboklab(38.66% 0.1274 -0.0828)
OKLCHoklch(38.66% 0.152 327)
XYZxyz(9.1712, 4.9258, 14.9328)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B196D #1B6D19
analogous
#41196D #6B196D #6D1945
triadic
#6B196D #6D6B19 #196D6B
tetradic
#6B196D #6D4119 #1B6D19 #19456D
square
#6B196D #6D4119 #1B6D19 #19456D
split-complementary
#6B196D #456D19 #196D41
monochromatic
#180619 #3A0E3B #6B196D #9C249F #CC31D0

Accessibility & contrast

On white

10.58
#6B196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6B196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B196D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B196D#FFFFFF#000000##FFFFFF
##6B196D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386F
Deuteranopia (green-blind)
#2E426B
Tritanopia (blue-blind)
#6E2742
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b196d;
/* rgb */ color: rgb(107, 25, 109);
/* oklch */ color: oklch(38.7% 0.152 327.0);
Tailwind
colors: {
  custom: {
    50: '#986097',
    500: '#6b196d',
    950: '#000000',
  },
}
SCSS
$custom: #6b196d;
$custom-light: #986097;
$custom-dark: #000000;
JSON
{
  "hex": "#6b196d",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 298.571,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.15197,
    "h": 327
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#6B196D
secondary
#42A23F
accent
#E64246
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B196D

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

Preview Lab → · Contrast checker → · Palette generator →

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