#3D043F#3D043F

#3D043F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.8% C 0.112 H 326.7°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#3D043F
RGBrgb(61, 4, 63)
HSLhsl(298, 88%, 13%)
HSVhsv(298, 94%, 25%)
CMYKcmyk(3.2%, 93.7%, 0%, 75.3%)
CIE-LABlab(12.21, 34.02, -22.16)
CIE-LCHlch(12.21, 40.60, 326.93°)
OKLaboklab(25.82% 0.0938 -0.0617)
OKLCHoklch(25.82% 0.112 326.7)
XYZxyz(2.8650, 1.4380, 4.8283)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D043F #063F04
analogous
#1F043F #3D043F #3F0423
triadic
#3D043F #3F3D04 #043F3D
tetradic
#3D043F #3F1F04 #063F04 #04233F
square
#3D043F #3F1F04 #063F04 #04233F
split-complementary
#3D043F #233F04 #043F1F
monochromatic
#1C021D #1C021D #3D043F #750879 #AC0BB2

Accessibility & contrast

On white

16.31
#3D043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3D043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D043F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D043F#FFFFFF#000000##FFFFFF
##3D043F1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#3F0F22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d043f;
/* rgb */ color: rgb(61, 4, 63);
/* oklch */ color: oklch(25.8% 0.112 326.7);
Tailwind
colors: {
  custom: {
    50: '#754d74',
    500: '#3d043f',
    950: '#000000',
  },
}
SCSS
$custom: #3d043f;
$custom-light: #754d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3d043f",
  "rgb": {
    "r": 61,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 297.966,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25822,
    "c": 0.11225,
    "h": 326.7
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#3D043F
secondary
#22801E
accent
#FE2A31
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D043F

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

Preview Lab → · Contrast checker → · Palette generator →

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