#3D1354#3D1354

#3D1354 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.114 H 310.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3D1354
RGBrgb(61, 19, 84)
HSLhsl(279, 63%, 20%)
HSVhsv(279, 77%, 33%)
CMYKcmyk(27.4%, 77.4%, 0%, 67.1%)
CIE-LABlab(15.99, 32.42, -30.63)
CIE-LCHlch(15.99, 44.60, 316.63°)
OKLaboklab(29.02% 0.0747 -0.0866)
OKLCHoklch(29.02% 0.114 310.8)
XYZxyz(3.7573, 2.0980, 8.5928)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1354 #2A5413
analogous
#1C1354 #3D1354 #54134B
triadic
#3D1354 #543D13 #13543D
tetradic
#3D1354 #541C13 #2A5413 #134B54
square
#3D1354 #541C13 #2A5413 #134B54
split-complementary
#3D1354 #4B5413 #13541C
monochromatic
#120619 #190822 #3D1354 #611E86 #852AB8

Accessibility & contrast

On white

14.79
#3D1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1354
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1354#FFFFFF#000000##FFFFFF
##3D13541.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#082853
Tritanopia (blue-blind)
#3A2132
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1354;
/* rgb */ color: rgb(61, 19, 84);
/* oklch */ color: oklch(29.0% 0.114 310.8);
Tailwind
colors: {
  custom: {
    50: '#755585',
    500: '#3d1354',
    950: '#000000',
  },
}
SCSS
$custom: #3d1354;
$custom-light: #755585;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1354",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 278.769,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29017,
    "c": 0.11438,
    "h": 310.8
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#3D1354
secondary
#558C36
accent
#E6427C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1354

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

Preview Lab → · Contrast checker → · Palette generator →

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