#060421

A color in the Violet family

#060421 is a color in the Violet family: RGB(6, 4, 33), HSL(244°, 78%, 7%), CMYK(82%, 88%, 0%, 87%). Closest named color: black. Contrast is 20.06:1 on white and 1.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#060421
RGBrgb(6 4 33)
RGB (legacy)rgb(6, 4, 33)
RGB %rgb(2% 2% 13%)
HSLhsl(244 78% 7%)
HSV / HSBhsv(244, 88%, 13%)
HWBhwb(244 2% 87%)
CMYKcmyk(82%, 88%, 0%, 87%)
CIELAB (D50)lab(1.99 5.32 -16.42)
LCHlch(1.99 17.26 287.97)
OKLaboklab(0.1389 0.0098 -0.0604)
OKLCHoklch(0.1389 0.0612 279.25)
Decimal394273

Properties

Color ToneViolet
Closest named colorblack ΔE 15.2
Closest web-safe color#000033
Hue244°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)7%
Brightness or Value (HSV)13%
Luminance (Rec.601 / Rec.709)3% / 3%
Relative luminance (WCAG)0.0024
Red / Green / Blue6 / 4 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
20.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.05: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 105.8 / 0 · As background with white / black text: Lc -107.7 / 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: #060421;
  --color-brand-oklch: oklch(13.89% 0.0612 279.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(6 4 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#060421] text-[#060421] border-[#060421]">