#060310

A color in the Violet family

#060310 is a color in the Violet family: RGB(6, 3, 16), HSL(254°, 68%, 4%), CMYK(62%, 81%, 0%, 94%). Closest named color: black. Contrast is 20.42:1 on white and 1.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#060310
RGBrgb(6 3 16)
RGB (legacy)rgb(6, 3, 16)
RGB %rgb(2% 1% 6%)
HSLhsl(254 68% 4%)
HSV / HSBhsv(254, 81%, 6%)
HWBhwb(254 1% 94%)
CMYKcmyk(62%, 81%, 0%, 94%)
CIELAB (D50)lab(1.24 2.27 -5.06)
LCHlch(1.24 5.55 294.19)
OKLaboklab(0.1156 0.0145 -0.0311)
OKLCHoklch(0.1156 0.0343 295)
Decimal394000

Properties

Color ToneViolet
Closest named colorblack ΔE 12.1
Closest web-safe color#000000
Hue254°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)4%
Brightness or Value (HSV)6%
Luminance (Rec.601 / Rec.709)2% / 2%
Relative luminance (WCAG)0.0014
Red / Green / Blue6 / 3 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
20.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.03: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 106 / 0 · As background with white / black text: Lc -107.8 / 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: #060310;
  --color-brand-oklch: oklch(11.56% 0.0343 295);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(6 3 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#060310] text-[#060310] border-[#060310]">