#4F445A

A color in the Violet family

#4f445a is a color in the Violet family: RGB(79, 68, 90), HSL(270°, 14%, 31%), CMYK(12%, 24%, 0%, 65%). Closest named color: darkslategray. Contrast is 9.1:1 on white and 2.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4f445a
RGBrgb(79 68 90)
RGB (legacy)rgb(79, 68, 90)
RGB %rgb(31% 27% 35%)
HSLhsl(270 14% 31%)
HSV / HSBhsv(270, 24%, 35%)
HWBhwb(270 27% 65%)
CMYKcmyk(12%, 24%, 0%, 65%)
CIELAB (D50)lab(30.65 8.48 -11.34)
LCHlch(30.65 14.16 306.79)
OKLaboklab(0.4065 0.0235 -0.0308)
OKLCHoklch(0.4065 0.0388 307.4)
Decimal5194842

Properties

Color ToneViolet
Closest named colordarkslategray ΔE 6.3
Closest web-safe color#663366
Hue270°
Saturation (HSL / HSV)14% / 24%
Lightness (HSL)31%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)29% / 28%
Relative luminance (WCAG)0.0653
Red / Green / Blue79 / 68 / 90

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.31: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 90.9 / -11.4 · As background with white / black text: Lc -95.3 / 13

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