#330C39

A color in the Purple, Crimson, Magenta family

#330c39 is a color in the Purple, Crimson, Magenta family: RGB(51, 12, 57), HSL(292°, 65%, 14%), CMYK(11%, 79%, 0%, 78%). Closest named color: midnightblue. Contrast is 16.77:1 on white and 1.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#330c39
RGBrgb(51 12 57)
RGB (legacy)rgb(51, 12, 57)
RGB %rgb(20% 5% 22%)
HSLhsl(292 65% 14%)
HSV / HSBhsv(292, 79%, 22%)
HWBhwb(292 5% 78%)
CMYKcmyk(11%, 79%, 0%, 78%)
CIELAB (D50)lab(10.91 25.19 -19.89)
LCHlch(10.91 32.1 321.71)
OKLaboklab(0.2445 0.0712 -0.0555)
OKLCHoklch(0.2445 0.0903 322.06)
Decimal3345465

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 11.7
Closest web-safe color#330033
Hue292°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)14%
Brightness or Value (HSV)22%
Luminance (Rec.601 / Rec.709)11% / 9%
Relative luminance (WCAG)0.0126
Red / Green / Blue51 / 12 / 57

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.25: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 103.2 / 0 · As background with white / black text: Lc -105.7 / 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: #330c39;
  --color-brand-oklch: oklch(24.45% 0.0903 322.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(51 12 57 / 50%); }
/* Tailwind CSS */
<div class="bg-[#330c39] text-[#330c39] border-[#330c39]">