#10041C#10041C

#10041C is a very dark, muted violet. Relative luminance 0.003; OKLCH L 14.7% C 0.053 H 305.2°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#10041C
RGBrgb(16, 4, 28)
HSLhsl(270, 75%, 6%)
HSVhsv(270, 86%, 11%)
CMYKcmyk(42.9%, 85.7%, 0%, 89%)
CIE-LABlab(2.54, 8.18, -11.64)
CIE-LCHlch(2.54, 14.23, 305.11°)
OKLaboklab(14.74% 0.0307 -0.0436)
OKLCHoklch(14.74% 0.053 305.2)
XYZxyz(0.4667, 0.2808, 1.1280)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10041C #101C04
analogous
#04041C #10041C #1C041C
triadic
#10041C #1C1004 #041C10
tetradic
#10041C #1C0404 #101C04 #041C1C
square
#10041C #1C0404 #101C04 #041C1C
split-complementary
#10041C #1C1C04 #041C04
monochromatic
#0F041B #0F041B #10041C #2F0C52 #4D1387

Accessibility & contrast

On white

19.88
#10041C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#10041C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10041C
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10041C#FFFFFF#000000##FFFFFF
##10041C1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091D
Deuteranopia (green-blind)
#01091B
Tritanopia (blue-blind)
#0E080E
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #10041c;
/* rgb */ color: rgb(16, 4, 28);
/* oklch */ color: oklch(14.7% 0.053 305.2);
Tailwind
colors: {
  custom: {
    50: '#4e4858',
    500: '#10041c',
    950: '#000000',
  },
}
SCSS
$custom: #10041c;
$custom-light: #4e4858;
$custom-dark: #000000;
JSON
{
  "hex": "#10041c",
  "rgb": {
    "r": 16,
    "g": 4,
    "b": 28
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14738,
    "c": 0.05334,
    "h": 305.2
  },
  "luminance": 0.00281
}

Semantic roles & 50–950 ramp

primary
#10041C
secondary
#3E5E1D
accent
#F23694
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #10041C

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

Preview Lab → · Contrast checker → · Palette generator →

#10041C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva