#780270

A color in the Purple, Crimson, Magenta family

#780270 is a color in the Purple, Crimson, Magenta family: RGB(120, 2, 112), HSL(304°, 97%, 24%), CMYK(0%, 98%, 7%, 53%). Closest named color: purple. Contrast is 10.29:1 on white and 2.04:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#780270
RGBrgb(120 2 112)
RGB (legacy)rgb(120, 2, 112)
RGB %rgb(47% 1% 44%)
HSLhsl(304 97% 24%)
HSV / HSBhsv(304, 98%, 47%)
HWBhwb(304 1% 53%)
CMYKcmyk(0%, 98%, 7%, 53%)
CIELAB (D50)lab(27.31 52.32 -30.03)
LCHlch(27.31 60.33 330.15)
OKLaboklab(0.3974 0.1569 -0.0838)
OKLCHoklch(0.3974 0.1779 331.89)
Decimal7864944

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 3
Closest web-safe color#660066
Hue304°
Saturation (HSL / HSV)97% / 98%
Lightness (HSL)24%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)20% / 14%
Relative luminance (WCAG)0.0521
Red / Green / Blue120 / 2 / 112

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.29:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.04: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 91.9 / -10.5 · As background with white / black text: Lc -96.1 / 12.1

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: #780270;
  --color-brand-oklch: oklch(39.74% 0.1779 331.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(120 2 112 / 50%); }
/* Tailwind CSS */
<div class="bg-[#780270] text-[#780270] border-[#780270]">