#0D0431#0D0431

#0D0431 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.084 H 282.9°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#0D0431
RGBrgb(13, 4, 49)
HSLhsl(252, 85%, 10%)
HSVhsv(252, 92%, 19%)
CMYKcmyk(73.5%, 91.8%, 0%, 80.8%)
CIE-LABlab(3.56, 15.94, -26.28)
CIE-LCHlch(3.56, 30.74, 301.23°)
OKLaboklab(16.75% 0.0188 -0.0819)
OKLCHoklch(16.75% 0.084 282.9)
XYZxyz(0.7636, 0.3941, 2.9410)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0431 #283104
analogous
#041131 #0D0431 #230431
triadic
#0D0431 #310D04 #04310D
tetradic
#0D0431 #310411 #283104 #043123
square
#0D0431 #310411 #283104 #043123
split-complementary
#0D0431 #312304 #113104
monochromatic
#08021C #08021C #0D0431 #1C096A #2B0DA2

Accessibility & contrast

On white

19.47
#0D0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0D0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0431
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0431#FFFFFF#000000##FFFFFF
##0D04311.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d0431;
/* rgb */ color: rgb(13, 4, 49);
/* oklch */ color: oklch(16.8% 0.084 282.9);
Tailwind
colors: {
  custom: {
    50: '#4f4869',
    500: '#0d0431',
    950: '#000000',
  },
}
SCSS
$custom: #0d0431;
$custom-light: #4f4869;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0431",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 252,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1675,
    "c": 0.08409,
    "h": 282.9
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#0D0431
secondary
#62731D
accent
#FB2DD2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D0431

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

Preview Lab → · Contrast checker → · Palette generator →

#0D0431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva