#3D1076#3D1076

#3D1076 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.155 H 295.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3D1076
RGBrgb(61, 16, 118)
HSLhsl(266, 76%, 26%)
HSVhsv(266, 86%, 46%)
CMYKcmyk(48.3%, 86.4%, 0%, 53.7%)
CIE-LABlab(18.67, 42.51, -48.68)
CIE-LCHlch(18.67, 64.63, 311.13°)
OKLaboklab(31.86% 0.0677 -0.1396)
OKLCHoklch(31.86% 0.155 295.9)
XYZxyz(5.3789, 2.6706, 17.3681)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1076 #497610
analogous
#101676 #3D1076 #701076
triadic
#3D1076 #763D10 #10763D
tetradic
#3D1076 #761016 #497610 #107670
square
#3D1076 #761016 #497610 #107670
split-complementary
#3D1076 #767010 #167610
monochromatic
#0E041B #210940 #3D1076 #5917AC #7520E1

Accessibility & contrast

On white

13.69
#3D1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1076
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1076#FFFFFF#000000##FFFFFF
##3D10761.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#2D2F45
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1076;
/* rgb */ color: rgb(61, 16, 118);
/* oklch */ color: oklch(31.9% 0.155 295.9);
Tailwind
colors: {
  custom: {
    50: '#7a569e',
    500: '#3d1076',
    950: '#000000',
  },
}
SCSS
$custom: #3d1076;
$custom-light: #7a569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1076",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 266.471,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31857,
    "c": 0.15518,
    "h": 295.9
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#3D1076
secondary
#78AD35
accent
#F3359F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1076

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

Preview Lab → · Contrast checker → · Palette generator →

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