#6A196C#6A196C

#6A196C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.151 H 327.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#6A196C
RGBrgb(106, 25, 108)
HSLhsl(299, 62%, 26%)
HSVhsv(299, 77%, 42%)
CMYKcmyk(1.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(26.28, 45.63, -29.57)
CIE-LCHlch(26.28, 54.38, 327.05°)
OKLaboklab(38.43% 0.1263 -0.0821)
OKLCHoklch(38.43% 0.151 327)
XYZxyz(8.9981, 4.8428, 14.6453)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A196C #1B6C19
analogous
#40196C #6A196C #6C1944
triadic
#6A196C #6C6A19 #196C6A
tetradic
#6A196C #6C4019 #1B6C19 #19446C
square
#6A196C #6C4019 #1B6C19 #19446C
split-complementary
#6A196C #446C19 #196C40
monochromatic
#180619 #390D3A #6A196C #9B259E #CB30CF

Accessibility & contrast

On white

10.67
#6A196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A196C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A196C#FFFFFF#000000##FFFFFF
##6A196C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#2E426A
Tritanopia (blue-blind)
#6D2741
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a196c;
/* rgb */ color: rgb(106, 25, 108);
/* oklch */ color: oklch(38.4% 0.151 327.0);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6a196c',
    950: '#000000',
  },
}
SCSS
$custom: #6a196c;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a196c",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 298.554,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.15061,
    "h": 327
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#6A196C
secondary
#42A13F
accent
#E54246
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A196C

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

Preview Lab → · Contrast checker → · Palette generator →

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