#1E01AC

A color in the Violet family

#1e01ac is a color in the Violet family: RGB(30, 1, 172), HSL(250°, 99%, 34%), CMYK(83%, 99%, 0%, 33%). Closest named color: mediumblue. Contrast is 12.69:1 on white and 1.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1e01ac
RGBrgb(30 1 172)
RGB (legacy)rgb(30, 1, 172)
RGB %rgb(12% 0% 67%)
HSLhsl(250 99% 34%)
HSV / HSBhsv(250, 99%, 67%)
HWBhwb(250 0% 33%)
CMYKcmyk(83%, 99%, 0%, 33%)
CIELAB (D50)lab(19.27 51.25 -81.1)
LCHlch(19.27 95.94 302.29)
OKLaboklab(0.3473 0.0014 -0.2261)
OKLCHoklch(0.3473 0.2261 270.36)
Decimal1966508

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.66: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 96.1 / 0 · As background with white / black text: Lc -99.8 / 7.8

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: #1e01ac;
  --color-brand-oklch: oklch(34.73% 0.2261 270.36);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(30 1 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1e01ac] text-[#1e01ac] border-[#1e01ac]">