#2801AC

A color in the Violet family

#2801ac is a color in the Violet family: RGB(40, 1, 172), HSL(254°, 99%, 34%), CMYK(77%, 99%, 0%, 33%). Closest named color: mediumblue. Contrast is 12.42:1 on white and 1.69:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2801ac
RGBrgb(40 1 172)
RGB (legacy)rgb(40, 1, 172)
RGB %rgb(16% 0% 67%)
HSLhsl(254 99% 34%)
HSV / HSBhsv(254, 99%, 67%)
HWBhwb(254 0% 33%)
CMYKcmyk(77%, 99%, 0%, 33%)
CIELAB (D50)lab(20.02 51.7 -79.83)
LCHlch(20.02 95.11 302.93)
OKLaboklab(0.3533 0.015 -0.2228)
OKLCHoklch(0.3533 0.2233 273.86)
Decimal2621868

Properties

Color ToneViolet
Closest named colormediumblue ΔE 6.7
Closest web-safe color#330099
Hue254°
Saturation (HSL / HSV)99% / 99%
Lightness (HSL)34%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)13% / 8%
Relative luminance (WCAG)0.0345
Red / Green / Blue40 / 1 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.69: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 95.7 / 0 · As background with white / black text: Lc -99.5 / 8.2

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: #2801ac;
  --color-brand-oklch: oklch(35.33% 0.2233 273.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 1 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2801ac] text-[#2801ac] border-[#2801ac]">