#351237

A color in the Purple, Crimson, Magenta family

#351237 is a color in the Purple, Crimson, Magenta family: RGB(53, 18, 55), HSL(297°, 51%, 14%), CMYK(4%, 67%, 0%, 78%). Closest named color: midnightblue. Contrast is 16.24:1 on white and 1.29:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#351237
RGBrgb(53 18 55)
RGB (legacy)rgb(53, 18, 55)
RGB %rgb(21% 7% 22%)
HSLhsl(297 51% 14%)
HSV / HSBhsv(297, 67%, 22%)
HWBhwb(297 7% 78%)
CMYKcmyk(4%, 67%, 0%, 78%)
CIELAB (D50)lab(12.33 22.46 -16.18)
LCHlch(12.33 27.68 324.24)
OKLaboklab(0.2548 0.0652 -0.0449)
OKLCHoklch(0.2548 0.0792 325.45)
Decimal3478071

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 11.9
Closest web-safe color#330033
Hue297°
Saturation (HSL / HSV)51% / 67%
Lightness (HSL)14%
Brightness or Value (HSV)22%
Luminance (Rec.601 / Rec.709)13% / 11%
Relative luminance (WCAG)0.0147
Red / Green / Blue53 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.29: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.9 / 0 · As background with white / black text: Lc -105.5 / 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: #351237;
  --color-brand-oklch: oklch(25.48% 0.0792 325.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(53 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#351237] text-[#351237] border-[#351237]">