#3B196A#3B196A

#3B196A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.132 H 297.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#3B196A
RGBrgb(59, 25, 106)
HSLhsl(265, 62%, 26%)
HSVhsv(265, 76%, 42%)
CMYKcmyk(44.3%, 76.4%, 0%, 58.4%)
CIE-LABlab(18.65, 34.84, -40.95)
CIE-LCHlch(18.65, 53.77, 310.39°)
OKLaboklab(31.43% 0.0605 -0.1171)
OKLCHoklch(31.43% 0.132 297.3)
XYZxyz(4.7521, 2.6656, 13.8970)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B196A #486A19
analogous
#191F6A #3B196A #63196A
triadic
#3B196A #6A3B19 #196A3B
tetradic
#3B196A #6A191F #486A19 #196A63
square
#3B196A #6A191F #486A19 #196A63
split-complementary
#3B196A #6A6319 #1F6A19
monochromatic
#0E0619 #1F0D38 #3B196A #57259C #7230CD

Accessibility & contrast

On white

13.70
#3B196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B196A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B196A#FFFFFF#000000##FFFFFF
##3B196A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b196a;
/* rgb */ color: rgb(59, 25, 106);
/* oklch */ color: oklch(31.4% 0.132 297.3);
Tailwind
colors: {
  custom: {
    50: '#765995',
    500: '#3b196a',
    950: '#000000',
  },
}
SCSS
$custom: #3b196a;
$custom-light: #765995;
$custom-dark: #000000;
JSON
{
  "hex": "#3b196a",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 265.185,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.13181,
    "h": 297.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#3B196A
secondary
#77A03F
accent
#E543A1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B196A

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

Preview Lab → · Contrast checker → · Palette generator →

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