#3D1052#3D1052

#3D1052 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.116 H 312.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1052
RGBrgb(61, 16, 82)
HSLhsl(281, 67%, 19%)
HSVhsv(281, 80%, 32%)
CMYKcmyk(25.6%, 80.5%, 0%, 67.8%)
CIE-LABlab(15.34, 33.34, -30.32)
CIE-LCHlch(15.34, 45.06, 317.71°)
OKLaboklab(28.5% 0.0784 -0.0857)
OKLCHoklch(28.5% 0.116 312.4)
XYZxyz(3.6325, 1.9720, 8.1703)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1052 #255210
analogous
#1C1052 #3D1052 #521046
triadic
#3D1052 #523D10 #10523D
tetradic
#3D1052 #521C10 #255210 #104652
square
#3D1052 #521C10 #255210 #104652
split-complementary
#3D1052 #465210 #10521C
monochromatic
#13051A #17061F #3D1052 #631A85 #8924B8

Accessibility & contrast

On white

15.06
#3D1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1052
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1052#FFFFFF#000000##FFFFFF
##3D10521.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#082751
Tritanopia (blue-blind)
#3B1F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d1052;
/* rgb */ color: rgb(61, 16, 82);
/* oklch */ color: oklch(28.5% 0.116 312.4);
Tailwind
colors: {
  custom: {
    50: '#755383',
    500: '#3d1052',
    950: '#000000',
  },
}
SCSS
$custom: #3d1052;
$custom-light: #755383;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1052",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 280.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.11618,
    "h": 312.4
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#3D1052
secondary
#4F8C32
accent
#EA3E75
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D1052

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

Preview Lab → · Contrast checker → · Palette generator →

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