#6A196E#6A196E

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

Color values

HEX#6A196E
RGBrgb(106, 25, 110)
HSLhsl(297, 63%, 26%)
HSVhsv(297, 77%, 43%)
CMYKcmyk(3.6%, 77.3%, 0%, 56.9%)
CIE-LABlab(26.41, 46.00, -30.66)
CIE-LCHlch(26.41, 55.28, 326.31°)
OKLaboklab(38.56% 0.1262 -0.0853)
OKLCHoklch(38.56% 0.152 326)
XYZxyz(9.1058, 4.8858, 15.2123)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A196E #1D6E19
analogous
#40196E #6A196E #6E1948
triadic
#6A196E #6E6A19 #196E6A
tetradic
#6A196E #6E4019 #1D6E19 #19486E
square
#6A196E #6E4019 #1D6E19 #19486E
split-complementary
#6A196E #486E19 #196E40
monochromatic
#180619 #3A0E3C #6A196E #9A24A0 #C931D0

Accessibility & contrast

On white

10.62
#6A196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6A196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A196E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A196E#FFFFFF#000000##FFFFFF
##6A196E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013870
Deuteranopia (green-blind)
#2D426C
Tritanopia (blue-blind)
#6D2842
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a196e;
/* rgb */ color: rgb(106, 25, 110);
/* oklch */ color: oklch(38.6% 0.152 326.0);
Tailwind
colors: {
  custom: {
    50: '#985f98',
    500: '#6a196e',
    950: '#000000',
  },
}
SCSS
$custom: #6a196e;
$custom-light: #985f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6a196e",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 297.176,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.15232,
    "h": 326
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#6A196E
secondary
#44A33F
accent
#E6424A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A196E

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

Preview Lab → · Contrast checker → · Palette generator →

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