#0D0529#0D0529

#0D0529 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.0% C 0.070 H 286.6°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0D0529
RGBrgb(13, 5, 41)
HSLhsl(253, 78%, 9%)
HSVhsv(253, 88%, 16%)
CMYKcmyk(68.3%, 87.8%, 0%, 83.9%)
CIE-LABlab(3.20, 11.62, -20.81)
CIE-LCHlch(3.20, 23.84, 299.18°)
OKLaboklab(16% 0.0201 -0.0674)
OKLCHoklch(16% 0.07 286.6)
XYZxyz(0.6204, 0.3542, 2.1331)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0529 #212905
analogous
#050F29 #0D0529 #1F0529
triadic
#0D0529 #290D05 #05290D
tetradic
#0D0529 #29050F #212905 #05291F
square
#0D0529 #29050F #212905 #05291F
split-complementary
#0D0529 #291F05 #0F2905
monochromatic
#09031B #09031B #0D0529 #1E0C60 #301296

Accessibility & contrast

On white

19.61
#0D0529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0529
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0529#FFFFFF#000000##FFFFFF
##0D05291.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2A
Deuteranopia (green-blind)
#000B28
Tritanopia (blue-blind)
#030E16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0d0529;
/* rgb */ color: rgb(13, 5, 41);
/* oklch */ color: oklch(16.0% 0.070 286.6);
Tailwind
colors: {
  custom: {
    50: '#4d4963',
    500: '#0d0529',
    950: '#000000',
  },
}
SCSS
$custom: #0d0529;
$custom-light: #4d4963;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0529",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 253.333,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16002,
    "c": 0.07033,
    "h": 286.6
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#0D0529
secondary
#5A6B1F
accent
#F533CA
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0D0529

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

Preview Lab → · Contrast checker → · Palette generator →

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