#3B00A1

A color in the Violet family

#3b00a1 is a color in the Violet family: RGB(59, 0, 161), HSL(262°, 100%, 32%), CMYK(63%, 100%, 0%, 37%). Closest named color: indigo. Contrast is 12.35:1 on white and 1.7:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3b00a1
RGBrgb(59 0 161)
RGB (legacy)rgb(59, 0, 161)
RGB %rgb(23% 0% 63%)
HSLhsl(262 100% 32%)
HSV / HSBhsv(262, 100%, 63%)
HWBhwb(262 0% 37%)
CMYKcmyk(63%, 100%, 0%, 37%)
CIELAB (D50)lab(20.57 51.01 -72.19)
LCHlch(20.57 88.39 305.25)
OKLaboklab(0.3547 0.0509 -0.2022)
OKLCHoklch(0.3547 0.2085 284.14)
Decimal3866785

Properties

Color ToneViolet
Closest named colorindigo ΔE 6.8
Closest web-safe color#330099
Hue262°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)14% / 9%
Relative luminance (WCAG)0.035
Red / Green / Blue59 / 0 / 161

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.35:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.70: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.8 / 0 · As background with white / black text: Lc -99.6 / 8.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: #3b00a1;
  --color-brand-oklch: oklch(35.47% 0.2085 284.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(59 0 161 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3b00a1] text-[#3b00a1] border-[#3b00a1]">