#2E00A3

A color in the Violet family

#2e00a3 is a color in the Violet family: RGB(46, 0, 163), HSL(257°, 100%, 32%), CMYK(72%, 100%, 0%, 36%). Closest named color: darkblue. Contrast is 12.77:1 on white and 1.65:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e00a3
RGBrgb(46 0 163)
RGB (legacy)rgb(46, 0, 163)
RGB %rgb(18% 0% 64%)
HSLhsl(257 100% 32%)
HSV / HSBhsv(257, 100%, 64%)
HWBhwb(257 0% 36%)
CMYKcmyk(72%, 100%, 0%, 36%)
CIELAB (D50)lab(19.34 50.44 -75.5)
LCHlch(19.34 90.8 303.74)
OKLaboklab(0.3455 0.028 -0.211)
OKLCHoklch(0.3455 0.2128 277.57)
Decimal3014819

Properties

Color ToneViolet
Closest named colordarkblue ΔE 7.7
Closest web-safe color#330099
Hue257°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)13% / 8%
Relative luminance (WCAG)0.0323
Red / Green / Blue46 / 0 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.65: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.4 / 0 · As background with white / black text: Lc -100.1 / 7.5

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: #2e00a3;
  --color-brand-oklch: oklch(34.55% 0.2128 277.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(46 0 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2e00a3] text-[#2e00a3] border-[#2e00a3]">