#3D1356#3D1356

#3D1356 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.117 H 309.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3D1356
RGBrgb(61, 19, 86)
HSLhsl(278, 64%, 21%)
HSVhsv(278, 78%, 34%)
CMYKcmyk(29.1%, 77.9%, 0%, 66.3%)
CIE-LABlab(16.15, 32.92, -31.72)
CIE-LCHlch(16.15, 45.72, 316.07°)
OKLaboklab(29.18% 0.0744 -0.0898)
OKLCHoklch(29.18% 0.117 309.6)
XYZxyz(3.8367, 2.1298, 9.0113)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1356 #2C5613
analogous
#1B1356 #3D1356 #56134D
triadic
#3D1356 #563D13 #13563D
tetradic
#3D1356 #561B13 #2C5613 #134D56
square
#3D1356 #561B13 #2C5613 #134D56
split-complementary
#3D1356 #4D5613 #13561B
monochromatic
#120619 #190824 #3D1356 #611E88 #8429BA

Accessibility & contrast

On white

14.73
#3D1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1356
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1356#FFFFFF#000000##FFFFFF
##3D13561.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#052955
Tritanopia (blue-blind)
#392233
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1356;
/* rgb */ color: rgb(61, 19, 86);
/* oklch */ color: oklch(29.2% 0.117 309.6);
Tailwind
colors: {
  custom: {
    50: '#765586',
    500: '#3d1356',
    950: '#000000',
  },
}
SCSS
$custom: #3d1356;
$custom-light: #765586;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1356",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 277.612,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.11663,
    "h": 309.6
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#3D1356
secondary
#578E36
accent
#E7417F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1356

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

Preview Lab → · Contrast checker → · Palette generator →

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