#4100B2

A color in the Violet family

#4100b2 is a color in the Violet family: RGB(65, 0, 178), HSL(262°, 100%, 35%), CMYK(63%, 100%, 0%, 30%). Closest named color: indigo. Contrast is 11.24:1 on white and 1.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4100b2
RGBrgb(65 0 178)
RGB (legacy)rgb(65, 0, 178)
RGB %rgb(25% 0% 70%)
HSLhsl(262 100% 35%)
HSV / HSBhsv(262, 100%, 70%)
HWBhwb(262 0% 30%)
CMYKcmyk(63%, 100%, 0%, 30%)
CIELAB (D50)lab(23.25 54.84 -77.97)
LCHlch(23.25 95.32 305.12)
OKLaboklab(0.381 0.053 -0.2183)
OKLCHoklch(0.381 0.2247 283.65)
Decimal4260018

Properties

Color ToneViolet
Closest named colorindigo ΔE 8.8
Closest web-safe color#330099
Hue262°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)35%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)16% / 10%
Relative luminance (WCAG)0.0434
Red / Green / Blue65 / 0 / 178

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.87: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 93.5 / -9 · As background with white / black text: Lc -97.6 / 10.4

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: #4100b2;
  --color-brand-oklch: oklch(38.1% 0.2247 283.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(65 0 178 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4100b2] text-[#4100b2] border-[#4100b2]">