#3A196A#3A196A

#3A196A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.132 H 296.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#3A196A
RGBrgb(58, 25, 106)
HSLhsl(264, 62%, 26%)
HSVhsv(264, 76%, 42%)
CMYKcmyk(45.3%, 76.4%, 0%, 58.4%)
CIE-LABlab(18.52, 34.64, -41.17)
CIE-LCHlch(18.52, 53.81, 310.08°)
OKLaboklab(31.3% 0.0589 -0.1178)
OKLCHoklch(31.3% 0.132 296.6)
XYZxyz(4.6934, 2.6353, 13.8943)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A196A #496A19
analogous
#19216A #3A196A #62196A
triadic
#3A196A #6A3A19 #196A3A
tetradic
#3A196A #6A1921 #496A19 #196A62
square
#3A196A #6A1921 #496A19 #196A62
split-complementary
#3A196A #6A6219 #216A19
monochromatic
#0E0619 #1F0D38 #3A196A #55259C #7030CD

Accessibility & contrast

On white

13.75
#3A196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3A196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A196A
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A196A#FFFFFF#000000##FFFFFF
##3A196A1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#2D2E40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a196a;
/* rgb */ color: rgb(58, 25, 106);
/* oklch */ color: oklch(31.3% 0.132 296.6);
Tailwind
colors: {
  custom: {
    50: '#755995',
    500: '#3a196a',
    950: '#000000',
  },
}
SCSS
$custom: #3a196a;
$custom-light: #755995;
$custom-dark: #000000;
JSON
{
  "hex": "#3a196a",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 264.444,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31304,
    "c": 0.1317,
    "h": 296.6
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#3A196A
secondary
#78A03F
accent
#E543A3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3A196A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A196A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva