#3D1B76#3D1B76

#3D1B76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.144 H 294.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#3D1B76
RGBrgb(61, 27, 118)
HSLhsl(262, 63%, 28%)
HSVhsv(262, 77%, 46%)
CMYKcmyk(48.3%, 77.1%, 0%, 53.7%)
CIE-LABlab(20.38, 37.60, -45.89)
CIE-LCHlch(20.38, 59.33, 309.33°)
OKLaboklab(33.04% 0.0588 -0.1315)
OKLCHoklch(33.04% 0.144 294.1)
XYZxyz(5.5855, 3.0838, 17.4370)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B76 #54761B
analogous
#1B2676 #3D1B76 #6A1B76
triadic
#3D1B76 #763D1B #1B763D
tetradic
#3D1B76 #761B26 #54761B #1B766A
square
#3D1B76 #761B26 #54761B #1B766A
split-complementary
#3D1B76 #766A1B #26761B
monochromatic
#0D0619 #231044 #3D1B76 #5726A8 #723AD2

Accessibility & contrast

On white

12.99
#3D1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1B76
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B76#FFFFFF#000000##FFFFFF
##3D1B761.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#2C3347
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1b76;
/* rgb */ color: rgb(61, 27, 118);
/* oklch */ color: oklch(33.0% 0.144 294.1);
Tailwind
colors: {
  custom: {
    50: '#795b9e',
    500: '#3d1b76',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b76;
$custom-light: #795b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b76",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 262.418,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.14406,
    "h": 294.1
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#3D1B76
secondary
#84AA42
accent
#E642A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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