#3D1554#3D1554

#3D1554 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.112 H 310.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3D1554
RGBrgb(61, 21, 84)
HSLhsl(278, 60%, 21%)
HSVhsv(278, 75%, 33%)
CMYKcmyk(27.4%, 75%, 0%, 67.1%)
CIE-LABlab(16.35, 31.43, -30.05)
CIE-LCHlch(16.35, 43.48, 316.28°)
OKLaboklab(29.27% 0.0723 -0.085)
OKLCHoklch(29.27% 0.112 310.4)
XYZxyz(3.7926, 2.1686, 8.6046)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1554 #2C5415
analogous
#1D1554 #3D1554 #54154B
triadic
#3D1554 #543D15 #15543D
tetradic
#3D1554 #541D15 #2C5415 #154B54
square
#3D1554 #541D15 #2C5415 #154B54
split-complementary
#3D1554 #4B5415 #15541D
monochromatic
#120618 #190923 #3D1554 #612185 #842DB6

Accessibility & contrast

On white

14.65
#3D1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1554
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1554#FFFFFF#000000##FFFFFF
##3D15541.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#0B2953
Tritanopia (blue-blind)
#3A2332
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1554;
/* rgb */ color: rgb(61, 21, 84);
/* oklch */ color: oklch(29.3% 0.112 310.4);
Tailwind
colors: {
  custom: {
    50: '#755685',
    500: '#3d1554',
    950: '#000000',
  },
}
SCSS
$custom: #3d1554;
$custom-light: #755685;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1554",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 278.095,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2927,
    "c": 0.11155,
    "h": 310.4
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#3D1554
secondary
#578C39
accent
#E3457F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1554

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

Preview Lab → · Contrast checker → · Palette generator →

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