#4A445A

A color in the Violet family

#4a445a is a color in the Violet family: RGB(74, 68, 90), HSL(256°, 14%, 31%), CMYK(18%, 24%, 0%, 65%). Closest named color: darkslategray. Contrast is 9.27:1 on white and 2.27:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4a445a
RGBrgb(74 68 90)
RGB (legacy)rgb(74, 68, 90)
RGB %rgb(29% 27% 35%)
HSLhsl(256 14% 31%)
HSV / HSBhsv(256, 24%, 35%)
HWBhwb(256 27% 65%)
CMYKcmyk(18%, 24%, 0%, 65%)
CIELAB (D50)lab(30.13 6.48 -12.19)
LCHlch(30.13 13.81 298)
OKLaboklab(0.4014 0.017 -0.0331)
OKLCHoklch(0.4014 0.0372 297.2)
Decimal4867162

Properties

Color ToneViolet
Closest named colordarkslategray ΔE 5.8
Closest web-safe color#333366
Hue256°
Saturation (HSL / HSV)14% / 24%
Lightness (HSL)31%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)28% / 28%
Relative luminance (WCAG)0.0633
Red / Green / Blue74 / 68 / 90

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.27: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 91.4 / -11 · As background with white / black text: Lc -95.7 / 12.6

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: #4a445a;
  --color-brand-oklch: oklch(40.14% 0.0372 297.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(74 68 90 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4a445a] text-[#4a445a] border-[#4a445a]">