#3B197A#3B197A

#3B197A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.151 H 291.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#3B197A
RGBrgb(59, 25, 122)
HSLhsl(261, 66%, 29%)
HSVhsv(261, 80%, 48%)
CMYKcmyk(51.6%, 79.5%, 0%, 52.2%)
CIE-LABlab(20.16, 39.41, -48.81)
CIE-LCHlch(20.16, 62.73, 308.92°)
OKLaboklab(32.96% 0.0562 -0.1402)
OKLCHoklch(32.96% 0.151 291.8)
XYZxyz(5.6631, 3.0300, 18.6950)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B197A #587A19
analogous
#19287A #3B197A #6C197A
triadic
#3B197A #7A3B19 #197A3B
tetradic
#3B197A #7A1928 #587A19 #197A6C
square
#3B197A #7A1928 #587A19 #197A6C
split-complementary
#3B197A #7A6C19 #287A19
monochromatic
#0C0519 #220F47 #3B197A #5423AD #6F37D6

Accessibility & contrast

On white

13.08
#3B197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3B197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B197A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B197A#FFFFFF#000000##FFFFFF
##3B197A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#263449
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b197a;
/* rgb */ color: rgb(59, 25, 122);
/* oklch */ color: oklch(33.0% 0.151 291.8);
Tailwind
colors: {
  custom: {
    50: '#785aa1',
    500: '#3b197a',
    950: '#000000',
  },
}
SCSS
$custom: #3b197a;
$custom-light: #785aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b197a",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 261.031,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32956,
    "c": 0.151,
    "h": 291.8
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#3B197A
secondary
#88AF40
accent
#E93FAD
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B197A

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

Preview Lab → · Contrast checker → · Palette generator →

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