#070310

A color in the Violet family

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

Color Codes

HEX#070310
RGBrgb(7 3 16)
RGB (legacy)rgb(7, 3, 16)
RGB %rgb(3% 1% 6%)
HSLhsl(258 68% 4%)
HSV / HSBhsv(258, 81%, 6%)
HWBhwb(258 1% 94%)
CMYKcmyk(56%, 81%, 0%, 94%)
CIELAB (D50)lab(1.3 2.55 -4.96)
LCHlch(1.3 5.58 297.14)
OKLaboklab(0.1175 0.017 -0.0301)
OKLCHoklch(0.1175 0.0345 299.42)
Decimal459536

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
20.40: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: #070310;
  --color-brand-oklch: oklch(11.75% 0.0345 299.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(7 3 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#070310] text-[#070310] border-[#070310]">