#3D1E77#3D1E77

#3D1E77 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.142 H 293.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#3D1E77
RGBrgb(61, 30, 119)
HSLhsl(261, 60%, 29%)
HSVhsv(261, 75%, 47%)
CMYKcmyk(48.7%, 74.8%, 0%, 53.3%)
CIE-LABlab(21.03, 36.31, -45.47)
CIE-LCHlch(21.03, 58.19, 308.61°)
OKLaboklab(33.53% 0.0556 -0.1303)
OKLCHoklch(33.53% 0.142 293.1)
XYZxyz(5.7176, 3.2524, 17.7757)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E77 #58771E
analogous
#1E2C77 #3D1E77 #6A1E77
triadic
#3D1E77 #773D1E #1E773D
tetradic
#3D1E77 #771E2C #58771E #1E776A
square
#3D1E77 #771E2C #58771E #1E776A
split-complementary
#3D1E77 #776A1E #2C771E
monochromatic
#0D0618 #241246 #3D1E77 #562AA8 #7240CF

Accessibility & contrast

On white

12.72
#3D1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3D1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E77
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E77#FFFFFF#000000##FFFFFF
##3D1E771.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#2B3548
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1e77;
/* rgb */ color: rgb(61, 30, 119);
/* oklch */ color: oklch(33.5% 0.142 293.1);
Tailwind
colors: {
  custom: {
    50: '#795d9f',
    500: '#3d1e77',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e77;
$custom-light: #795d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e77",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 260.899,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.14169,
    "h": 293.1
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#3D1E77
secondary
#88AB46
accent
#E345AC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3D1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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