#04000A#04000A

#04000A is a very dark, muted violet. Relative luminance 0.000; OKLCH L 8.4% C 0.043 H 306.9°. Best body text is #FFFFFF at 20.80:1 contrast (WCAG AA passes).

Color values

HEX#04000A
RGBrgb(4, 0, 10)
HSLhsl(264, 100%, 2%)
HSVhsv(264, 100%, 4%)
CMYKcmyk(60%, 100%, 0%, 96.1%)
CIE-LABlab(0.43, 2.44, -3.42)
CIE-LCHlch(0.43, 4.20, 305.49°)
OKLaboklab(8.41% 0.026 -0.0346)
OKLCHoklch(8.41% 0.043 306.9)
XYZxyz(0.1048, 0.0477, 0.2908)
Luminance0.0005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04000A #060A00
analogous
#00010A #04000A #09000A
triadic
#04000A #0A0400 #000A04
tetradic
#04000A #0A0001 #060A00 #000A09
square
#04000A #0A0001 #060A00 #000A09
split-complementary
#04000A #0A0900 #010A00
monochromatic
#0C001F #0C001F #0C001F #1C0047 #350084

Accessibility & contrast

On white

20.80
#04000A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#04000A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04000A
20.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04000A#FFFFFF#000000##FFFFFF
##04000A1.0020.801.0120.80
#FFFFFF20.801.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00010B
Deuteranopia (green-blind)
#00020A
Tritanopia (blue-blind)
#030103
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #04000a;
/* rgb */ color: rgb(4, 0, 10);
/* oklch */ color: oklch(8.4% 0.043 306.9);
Tailwind
colors: {
  custom: {
    50: '#48474b',
    500: '#04000a',
    950: '#000000',
  },
}
SCSS
$custom: #04000a;
$custom-light: #48474b;
$custom-dark: #000000;
JSON
{
  "hex": "#04000a",
  "rgb": {
    "r": 4,
    "g": 0,
    "b": 10
  },
  "hsl": {
    "h": 264,
    "s": 100,
    "l": 1.961
  },
  "oklch": {
    "l": 0.08409,
    "c": 0.04323,
    "h": 306.9
  },
  "luminance": 0.00048
}

Semantic roles & 50–950 ramp

primary
#04000A
secondary
#3A570F
accent
#FF29A9
background
#F4F3F4
surface
#E6E5E7
border
#C2C1C3
text
#000001
muted
#777777

Preview Lab

Preview with #04000A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04000A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva