#3B197D#3B197D

#3B197D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.155 H 291.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3B197D
RGBrgb(59, 25, 125)
HSLhsl(260, 67%, 29%)
HSVhsv(260, 80%, 49%)
CMYKcmyk(52.8%, 80%, 0%, 51%)
CIE-LABlab(20.46, 40.27, -50.23)
CIE-LCHlch(20.46, 64.38, 308.72°)
OKLaboklab(33.26% 0.0553 -0.1443)
OKLCHoklch(33.26% 0.155 291)
XYZxyz(5.8519, 3.1055, 19.6891)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B197D #5B7D19
analogous
#19297D #3B197D #6D197D
triadic
#3B197D #7D3B19 #197D3B
tetradic
#3B197D #7D1929 #5B7D19 #197D6D
square
#3B197D #7D1929 #5B7D19 #197D6D
split-complementary
#3B197D #7D6D19 #297D19
monochromatic
#0C051A #230F4A #3B197D #5323B0 #6F39D7

Accessibility & contrast

On white

12.95
#3B197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3B197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B197D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B197D#FFFFFF#000000##FFFFFF
##3B197D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#24354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b197d;
/* rgb */ color: rgb(59, 25, 125);
/* oklch */ color: oklch(33.3% 0.155 291.0);
Tailwind
colors: {
  custom: {
    50: '#795aa4',
    500: '#3b197d',
    950: '#000000',
  },
}
SCSS
$custom: #3b197d;
$custom-light: #795aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b197d",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 260.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.15455,
    "h": 291
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#3B197D
secondary
#8BB140
accent
#EA3EAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B197D

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

Preview Lab → · Contrast checker → · Palette generator →

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