#0D0434#0D0434

#0D0434 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.088 H 281.5°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0D0434
RGBrgb(13, 4, 52)
HSLhsl(251, 86%, 11%)
HSVhsv(251, 92%, 20%)
CMYKcmyk(75%, 92.3%, 0%, 79.6%)
CIE-LABlab(3.80, 17.59, -28.13)
CIE-LCHlch(3.80, 33.18, 302.02°)
OKLaboklab(17.14% 0.0177 -0.0865)
OKLCHoklch(17.14% 0.088 281.5)
XYZxyz(0.8290, 0.4203, 3.2856)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0434 #2B3404
analogous
#041334 #0D0434 #250434
triadic
#0D0434 #340D04 #04340D
tetradic
#0D0434 #340413 #2B3404 #043425
square
#0D0434 #340413 #2B3404 #043425
split-complementary
#0D0434 #342504 #133404
monochromatic
#07021C #07021C #0D0434 #1B086D #290DA6

Accessibility & contrast

On white

19.37
#0D0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0434
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0434#FFFFFF#000000##FFFFFF
##0D04341.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F35
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d0434;
/* rgb */ color: rgb(13, 4, 52);
/* oklch */ color: oklch(17.1% 0.088 281.5);
Tailwind
colors: {
  custom: {
    50: '#50486c',
    500: '#0d0434',
    950: '#000000',
  },
}
SCSS
$custom: #0d0434;
$custom-light: #50486c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0434",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 251.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17142,
    "c": 0.08831,
    "h": 281.5
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#0D0434
secondary
#66761E
accent
#FC2CD5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0434

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

Preview Lab → · Contrast checker → · Palette generator →

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