#3D1248#3D1248

#3D1248 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.103 H 318.8°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#3D1248
RGBrgb(61, 18, 72)
HSLhsl(288, 60%, 18%)
HSVhsv(288, 75%, 28%)
CMYKcmyk(15.3%, 75%, 0%, 71.8%)
CIE-LABlab(14.91, 30.04, -24.14)
CIE-LCHlch(14.91, 38.53, 321.21°)
OKLaboklab(27.96% 0.0771 -0.0676)
OKLCHoklch(27.96% 0.103 318.8)
XYZxyz(3.3103, 1.8927, 6.3206)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1248 #1D4812
analogous
#221248 #3D1248 #481238
triadic
#3D1248 #483D12 #12483D
tetradic
#3D1248 #482212 #1D4812 #123848
square
#3D1248 #482212 #1D4812 #123848
split-complementary
#3D1248 #384812 #124822
monochromatic
#150618 #150618 #3D1248 #661E79 #902AAA

Accessibility & contrast

On white

15.23
#3D1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D1248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1248
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1248#FFFFFF#000000##FFFFFF
##3D12481.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234A
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#3D1C2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1248;
/* rgb */ color: rgb(61, 18, 72);
/* oklch */ color: oklch(28.0% 0.103 318.8);
Tailwind
colors: {
  custom: {
    50: '#75547b',
    500: '#3d1248',
    950: '#000000',
  },
}
SCSS
$custom: #3d1248;
$custom-light: #75547b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1248",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 287.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27957,
    "c": 0.10257,
    "h": 318.8
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#3D1248
secondary
#448135
accent
#E34565
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1248

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

Preview Lab → · Contrast checker → · Palette generator →

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