#3B287C

A color in the Violet family

#3b287c is a color in the Violet family: RGB(59, 40, 124), HSL(254°, 51%, 32%), CMYK(52%, 68%, 0%, 51%). Closest named color: indigo. Contrast is 11.79:1 on white and 1.78:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3b287c
RGBrgb(59 40 124)
RGB (legacy)rgb(59, 40, 124)
RGB %rgb(23% 16% 49%)
HSLhsl(254 51% 32%)
HSV / HSBhsv(254, 68%, 49%)
HWBhwb(254 16% 51%)
CMYKcmyk(52%, 68%, 0%, 51%)
CIELAB (D50)lab(22.71 26.87 -45.7)
LCHlch(22.71 53.01 300.46)
OKLaboklab(0.3528 0.0413 -0.1287)
OKLCHoklch(0.3528 0.1352 287.79)
Decimal3876988

Properties

Color ToneViolet
Closest named colorindigo ΔE 6
Closest web-safe color#333366
Hue254°
Saturation (HSL / HSV)51% / 68%
Lightness (HSL)32%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)22% / 20%
Relative luminance (WCAG)0.039
Red / Green / Blue59 / 40 / 124

WCAG 2.2 Contrast Ratio

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

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: #3b287c;
  --color-brand-oklch: oklch(35.28% 0.1352 287.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(59 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3b287c] text-[#3b287c] border-[#3b287c]">