#3400A3

A color in the Violet family

#3400a3 is a color in the Violet family: RGB(52, 0, 163), HSL(259°, 100%, 32%), CMYK(68%, 100%, 0%, 36%). Closest named color: indigo. Contrast is 12.54:1 on white and 1.67:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3400a3
RGBrgb(52 0 163)
RGB (legacy)rgb(52, 0, 163)
RGB %rgb(20% 0% 64%)
HSLhsl(259 100% 32%)
HSV / HSBhsv(259, 100%, 64%)
HWBhwb(259 0% 36%)
CMYKcmyk(68%, 100%, 0%, 36%)
CIELAB (D50)lab(19.98 50.85 -74.41)
LCHlch(19.98 90.13 304.35)
OKLaboklab(0.3506 0.038 -0.2081)
OKLCHoklch(0.3506 0.2116 280.35)
Decimal3408035

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.67: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 / 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: #3400a3;
  --color-brand-oklch: oklch(35.06% 0.2116 280.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(52 0 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3400a3] text-[#3400a3] border-[#3400a3]">