#3D1845#3D1845

#3D1845 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.6% C 0.089 H 320.2°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#3D1845
RGBrgb(61, 24, 69)
HSLhsl(289, 48%, 18%)
HSVhsv(289, 65%, 27%)
CMYKcmyk(11.6%, 65.2%, 0%, 72.9%)
CIE-LABlab(15.88, 26.13, -20.53)
CIE-LCHlch(15.88, 33.23, 321.84°)
OKLaboklab(28.59% 0.0685 -0.0571)
OKLCHoklch(28.59% 0.089 320.2)
XYZxyz(3.3251, 2.0752, 5.8545)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1845 #204518
analogous
#261845 #3D1845 #451836
triadic
#3D1845 #453D18 #18453D
tetradic
#3D1845 #452618 #204518 #183645
square
#3D1845 #452618 #204518 #183645
split-complementary
#3D1845 #364518 #184526
monochromatic
#140817 #150818 #3D1845 #652872 #8D38A0

Accessibility & contrast

On white

14.84
#3D1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1845
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1845#FFFFFF#000000##FFFFFF
##3D18451.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#1C2944
Tritanopia (blue-blind)
#3D1F2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1845;
/* rgb */ color: rgb(61, 24, 69);
/* oklch */ color: oklch(28.6% 0.089 320.2);
Tailwind
colors: {
  custom: {
    50: '#745779',
    500: '#3d1845',
    950: '#000000',
  },
}
SCSS
$custom: #3d1845;
$custom-light: #745779;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1845",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 289.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28589,
    "c": 0.08922,
    "h": 320.2
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#3D1845
secondary
#487C3D
accent
#D85068
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1845

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

Preview Lab → · Contrast checker → · Palette generator →

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