#3D1237

A color in the Purple, Crimson, Magenta family

#3d1237 is a color in the Purple, Crimson, Magenta family: RGB(61, 18, 55), HSL(308°, 54%, 15%), CMYK(0%, 70%, 10%, 76%). Closest named color: midnightblue. Contrast is 15.67:1 on white and 1.34:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3d1237
RGBrgb(61 18 55)
RGB (legacy)rgb(61, 18, 55)
RGB %rgb(24% 7% 22%)
HSLhsl(308 54% 15%)
HSV / HSBhsv(308, 70%, 24%)
HWBhwb(308 7% 76%)
CMYKcmyk(0%, 70%, 10%, 76%)
CIELAB (D50)lab(13.85 25.29 -13.69)
LCHlch(13.85 28.76 331.58)
OKLaboklab(0.2682 0.0762 -0.0379)
OKLCHoklch(0.2682 0.0851 333.54)
Decimal4002359

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 12.8
Closest web-safe color#330033
Hue308°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)15%
Brightness or Value (HSV)24%
Luminance (Rec.601 / Rec.709)14% / 12%
Relative luminance (WCAG)0.017
Red / Green / Blue61 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.67:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 102.2 / 0 · As background with white / black text: Lc -104.9 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #3d1237;
  --color-brand-oklch: oklch(26.82% 0.0851 333.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(61 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3d1237] text-[#3d1237] border-[#3d1237]">