#3B1976#3B1976

#3B1976 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.146 H 293.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#3B1976
RGBrgb(59, 25, 118)
HSLhsl(262, 65%, 28%)
HSVhsv(262, 79%, 46%)
CMYKcmyk(50%, 78.8%, 0%, 53.7%)
CIE-LABlab(19.77, 38.26, -46.89)
CIE-LCHlch(19.77, 60.52, 309.22°)
OKLaboklab(32.56% 0.0574 -0.1345)
OKLCHoklch(32.56% 0.146 293.1)
XYZxyz(5.4204, 2.9329, 17.4165)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1976 #547619
analogous
#192676 #3B1976 #691976
triadic
#3B1976 #763B19 #19763B
tetradic
#3B1976 #761926 #547619 #197669
square
#3B1976 #761926 #547619 #197669
split-complementary
#3B1976 #766919 #267619
monochromatic
#0D0519 #220E43 #3B1976 #5424A8 #6F35D4

Accessibility & contrast

On white

13.24
#3B1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3B1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1976
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1976#FFFFFF#000000##FFFFFF
##3B19761.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#293246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3b1976;
/* rgb */ color: rgb(59, 25, 118);
/* oklch */ color: oklch(32.6% 0.146 293.1);
Tailwind
colors: {
  custom: {
    50: '#785a9e',
    500: '#3b1976',
    950: '#000000',
  },
}
SCSS
$custom: #3b1976;
$custom-light: #785a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1976",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 261.935,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.14624,
    "h": 293.1
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#3B1976
secondary
#84AB40
accent
#E840AB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1976

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

Preview Lab → · Contrast checker → · Palette generator →

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