#3D1056#3D1056

#3D1056 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.120 H 310.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3D1056
RGBrgb(61, 16, 86)
HSLhsl(279, 69%, 20%)
HSVhsv(279, 81%, 34%)
CMYKcmyk(29.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(15.67, 34.30, -32.51)
CIE-LCHlch(15.67, 47.26, 316.54°)
OKLaboklab(28.84% 0.0777 -0.0921)
OKLCHoklch(28.84% 0.121 310.1)
XYZxyz(3.7891, 2.0347, 8.9954)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1056 #295610
analogous
#1A1056 #3D1056 #56104C
triadic
#3D1056 #563D10 #10563D
tetradic
#3D1056 #561A10 #295610 #104C56
square
#3D1056 #561A10 #295610 #104C56
split-complementary
#3D1056 #4C5610 #10561A
monochromatic
#12051A #180622 #3D1056 #621A8A #8623BD

Accessibility & contrast

On white

14.93
#3D1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1056
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1056#FFFFFF#000000##FFFFFF
##3D10561.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#392132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1056;
/* rgb */ color: rgb(61, 16, 86);
/* oklch */ color: oklch(28.8% 0.120 310.1);
Tailwind
colors: {
  custom: {
    50: '#765486',
    500: '#3d1056',
    950: '#000000',
  },
}
SCSS
$custom: #3d1056;
$custom-light: #765486;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1056",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 278.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.1205,
    "h": 310.1
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#3D1056
secondary
#548F32
accent
#EB3C7B
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1056

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

Preview Lab → · Contrast checker → · Palette generator →

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