#3B197C#3B197C

#3B197C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.153 H 291.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3B197C
RGBrgb(59, 25, 124)
HSLhsl(261, 66%, 29%)
HSVhsv(261, 80%, 49%)
CMYKcmyk(52.4%, 79.8%, 0%, 51.4%)
CIE-LABlab(20.36, 39.98, -49.76)
CIE-LCHlch(20.36, 63.83, 308.78°)
OKLaboklab(33.16% 0.0556 -0.1429)
OKLCHoklch(33.16% 0.153 291.2)
XYZxyz(5.7883, 3.0801, 19.3544)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B197C #5A7C19
analogous
#19297C #3B197C #6D197C
triadic
#3B197C #7C3B19 #197C3B
tetradic
#3B197C #7C1929 #5A7C19 #197C6D
square
#3B197C #7C1929 #5A7C19 #197C6D
split-complementary
#3B197C #7C6D19 #297C19
monochromatic
#0C0519 #230F49 #3B197C #5323AF #6F38D7

Accessibility & contrast

On white

13.00
#3B197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B197C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B197C#FFFFFF#000000##FFFFFF
##3B197C1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#25354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b197c;
/* rgb */ color: rgb(59, 25, 124);
/* oklch */ color: oklch(33.2% 0.153 291.2);
Tailwind
colors: {
  custom: {
    50: '#795aa3',
    500: '#3b197c',
    950: '#000000',
  },
}
SCSS
$custom: #3b197c;
$custom-light: #795aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b197c",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 260.606,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.15336,
    "h": 291.2
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#3B197C
secondary
#8AB040
accent
#E93EAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B197C

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

Preview Lab → · Contrast checker → · Palette generator →

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