#3D1776#3D1776

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

Color values

HEX#3D1776
RGBrgb(61, 23, 118)
HSLhsl(264, 67%, 28%)
HSVhsv(264, 81%, 46%)
CMYKcmyk(48.3%, 80.5%, 0%, 53.7%)
CIE-LABlab(19.69, 39.55, -47.01)
CIE-LCHlch(19.69, 61.44, 310.08°)
OKLaboklab(32.56% 0.0623 -0.1348)
OKLCHoklch(32.56% 0.149 294.8)
XYZxyz(5.5000, 2.9127, 17.4085)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1776 #507617
analogous
#172076 #3D1776 #6C1776
triadic
#3D1776 #763D17 #17763D
tetradic
#3D1776 #761720 #507617 #17766C
square
#3D1776 #761720 #507617 #17766C
split-complementary
#3D1776 #766C17 #207617
monochromatic
#0D051A #230D43 #3D1776 #5721A9 #7331D7

Accessibility & contrast

On white

13.27
#3D1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1776
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1776#FFFFFF#000000##FFFFFF
##3D17761.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#2C3146
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1776;
/* rgb */ color: rgb(61, 23, 118);
/* oklch */ color: oklch(32.6% 0.149 294.8);
Tailwind
colors: {
  custom: {
    50: '#79599e',
    500: '#3d1776',
    950: '#000000',
  },
}
SCSS
$custom: #3d1776;
$custom-light: #79599e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1776",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 264,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.14852,
    "h": 294.8
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#3D1776
secondary
#7FAB3E
accent
#EA3EA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1776

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

Preview Lab → · Contrast checker → · Palette generator →

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