#3B196E#3B196E

#3B196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.137 H 295.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#3B196E
RGBrgb(59, 25, 110)
HSLhsl(264, 63%, 26%)
HSVhsv(264, 77%, 43%)
CMYKcmyk(46.4%, 77.3%, 0%, 56.9%)
CIE-LABlab(19.02, 35.98, -42.96)
CIE-LCHlch(19.02, 56.04, 309.94°)
OKLaboklab(31.8% 0.0595 -0.123)
OKLCHoklch(31.8% 0.137 295.8)
XYZxyz(4.9650, 2.7507, 15.0182)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B196E #4C6E19
analogous
#19226E #3B196E #66196E
triadic
#3B196E #6E3B19 #196E3B
tetradic
#3B196E #6E1922 #4C6E19 #196E66
square
#3B196E #6E1922 #4C6E19 #196E66
split-complementary
#3B196E #6E6619 #226E19
monochromatic
#0D0619 #200E3C #3B196E #5624A0 #7131D0

Accessibility & contrast

On white

13.55
#3B196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3B196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B196E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B196E#FFFFFF#000000##FFFFFF
##3B196E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2D2F42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b196e;
/* rgb */ color: rgb(59, 25, 110);
/* oklch */ color: oklch(31.8% 0.137 295.8);
Tailwind
colors: {
  custom: {
    50: '#775998',
    500: '#3b196e',
    950: '#000000',
  },
}
SCSS
$custom: #3b196e;
$custom-light: #775998;
$custom-dark: #000000;
JSON
{
  "hex": "#3b196e",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 264,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.13665,
    "h": 295.8
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#3B196E
secondary
#7BA33F
accent
#E642A4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B196E

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

Preview Lab → · Contrast checker → · Palette generator →

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