#3D2C8A

A color in the Violet family

#3d2c8a is a color in the Violet family: RGB(61, 44, 138), HSL(251°, 52%, 36%), CMYK(56%, 68%, 0%, 46%). Closest named color: darkslateblue. Contrast is 10.91:1 on white and 1.93:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3d2c8a
RGBrgb(61 44 138)
RGB (legacy)rgb(61, 44, 138)
RGB %rgb(24% 17% 54%)
HSLhsl(251 52% 36%)
HSV / HSBhsv(251, 68%, 54%)
HWBhwb(251 17% 46%)
CMYKcmyk(56%, 68%, 0%, 46%)
CIELAB (D50)lab(24.9 28.64 -50.89)
LCHlch(24.9 58.39 299.37)
OKLaboklab(0.3736 0.0383 -0.1434)
OKLCHoklch(0.3736 0.1484 284.94)
Decimal4009098

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 4.7
Closest web-safe color#333399
Hue251°
Saturation (HSL / HSV)52% / 68%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)23% / 21%
Relative luminance (WCAG)0.0463
Red / Green / Blue61 / 44 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.91:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.93: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 94.7 / -7.9 · As background with white / black text: Lc -98.7 / 9.2

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: #3d2c8a;
  --color-brand-oklch: oklch(37.36% 0.1484 284.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(61 44 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3d2c8a] text-[#3d2c8a] border-[#3d2c8a]">