#0D0131#0D0131

#0D0131 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.090 H 284.6°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#0D0131
RGBrgb(13, 1, 49)
HSLhsl(255, 96%, 10%)
HSVhsv(255, 98%, 19%)
CMYKcmyk(73.5%, 98%, 0%, 80.8%)
CIE-LABlab(2.97, 17.14, -27.22)
CIE-LCHlch(2.97, 32.17, 302.19°)
OKLaboklab(16.02% 0.0227 -0.087)
OKLCHoklch(16.02% 0.09 284.6)
XYZxyz(0.7310, 0.3290, 2.9301)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0131 #253101
analogous
#010D31 #0D0131 #250131
triadic
#0D0131 #310D01 #01310D
tetradic
#0D0131 #31010D #253101 #013125
square
#0D0131 #31010D #253101 #013125
split-complementary
#0D0131 #312501 #0D3101
monochromatic
#08011E #08011E #0D0131 #1D026D #2D03A9

Accessibility & contrast

On white

19.70
#0D0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0D0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0131
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0131#FFFFFF#000000##FFFFFF
##0D01311.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#000E19
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d0131;
/* rgb */ color: rgb(13, 1, 49);
/* oklch */ color: oklch(16.0% 0.090 284.6);
Tailwind
colors: {
  custom: {
    50: '#4f4669',
    500: '#0d0131',
    950: '#000000',
  },
}
SCSS
$custom: #0d0131;
$custom-light: #4f4669;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0131",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 255,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16018,
    "c": 0.08989,
    "h": 284.6
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#0D0131
secondary
#5F7717
accent
#FF29C9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D0131

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

Preview Lab → · Contrast checker → · Palette generator →

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