#3B1979#3B1979

#3B1979 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 292.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#3B1979
RGBrgb(59, 25, 121)
HSLhsl(261, 66%, 29%)
HSVhsv(261, 79%, 47%)
CMYKcmyk(51.2%, 79.3%, 0%, 52.5%)
CIE-LABlab(20.07, 39.12, -48.33)
CIE-LCHlch(20.07, 62.18, 308.99°)
OKLaboklab(32.86% 0.0565 -0.1388)
OKLCHoklch(32.86% 0.15 292.1)
XYZxyz(5.6015, 3.0053, 18.3704)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1979 #577919
analogous
#192779 #3B1979 #6B1979
triadic
#3B1979 #793B19 #19793B
tetradic
#3B1979 #791927 #577919 #19796B
square
#3B1979 #791927 #577919 #19796B
split-complementary
#3B1979 #796B19 #277919
monochromatic
#0C0519 #220F46 #3B1979 #5423AC #6F37D6

Accessibility & contrast

On white

13.12
#3B1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3B1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1979
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1979#FFFFFF#000000##FFFFFF
##3B19791.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#273448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3b1979;
/* rgb */ color: rgb(59, 25, 121);
/* oklch */ color: oklch(32.9% 0.150 292.1);
Tailwind
colors: {
  custom: {
    50: '#785aa1',
    500: '#3b1979',
    950: '#000000',
  },
}
SCSS
$custom: #3b1979;
$custom-light: #785aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1979",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 261.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.14981,
    "h": 292.1
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#3B1979
secondary
#87AE40
accent
#E93FAD
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B1979

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

Preview Lab → · Contrast checker → · Palette generator →

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