#3D1777#3D1777

#3D1777 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.150 H 294.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#3D1777
RGBrgb(61, 23, 119)
HSLhsl(264, 68%, 28%)
HSVhsv(264, 81%, 47%)
CMYKcmyk(48.7%, 80.7%, 0%, 53.3%)
CIE-LABlab(19.79, 39.83, -47.50)
CIE-LCHlch(19.79, 61.99, 309.98°)
OKLaboklab(32.66% 0.062 -0.1362)
OKLCHoklch(32.66% 0.15 294.5)
XYZxyz(5.5597, 2.9366, 17.7231)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1777 #517717
analogous
#172177 #3D1777 #6D1777
triadic
#3D1777 #773D17 #17773D
tetradic
#3D1777 #771721 #517717 #17776D
square
#3D1777 #771721 #517717 #17776D
split-complementary
#3D1777 #776D17 #217717
monochromatic
#0D051A #230D44 #3D1777 #5721AA #7331D7

Accessibility & contrast

On white

13.23
#3D1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1777
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1777#FFFFFF#000000##FFFFFF
##3D17771.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#2C3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1777;
/* rgb */ color: rgb(61, 23, 119);
/* oklch */ color: oklch(32.7% 0.150 294.5);
Tailwind
colors: {
  custom: {
    50: '#79599f',
    500: '#3d1777',
    950: '#000000',
  },
}
SCSS
$custom: #3d1777;
$custom-light: #79599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1777",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 263.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32661,
    "c": 0.14967,
    "h": 294.5
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#3D1777
secondary
#80AC3E
accent
#EA3DA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3D1777

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

Preview Lab → · Contrast checker → · Palette generator →

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