#0D052A#0D052A

#0D052A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.1% C 0.072 H 286.0°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#0D052A
RGBrgb(13, 5, 42)
HSLhsl(253, 79%, 9%)
HSVhsv(253, 88%, 16%)
CMYKcmyk(69%, 88.1%, 0%, 83.5%)
CIE-LABlab(3.26, 12.07, -21.48)
CIE-LCHlch(3.26, 24.64, 299.34°)
OKLaboklab(16.12% 0.0198 -0.0691)
OKLCHoklch(16.12% 0.072 286)
XYZxyz(0.6380, 0.3612, 2.2261)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D052A #222A05
analogous
#05102A #0D052A #20052A
triadic
#0D052A #2A0D05 #052A0D
tetradic
#0D052A #2A0510 #222A05 #052A20
square
#0D052A #2A0510 #222A05 #052A20
split-complementary
#0D052A #2A2005 #102A05
monochromatic
#08031B #08031B #0D052A #1E0C61 #2F1297

Accessibility & contrast

On white

19.59
#0D052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D052A
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D052A#FFFFFF#000000##FFFFFF
##0D052A1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d052a;
/* rgb */ color: rgb(13, 5, 42);
/* oklch */ color: oklch(16.1% 0.072 286.0);
Tailwind
colors: {
  custom: {
    50: '#4d4964',
    500: '#0d052a',
    950: '#000000',
  },
}
SCSS
$custom: #0d052a;
$custom-light: #4d4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0d052a",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 252.973,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16121,
    "c": 0.07185,
    "h": 286
  },
  "luminance": 0.00361
}

Semantic roles & 50–950 ramp

primary
#0D052A
secondary
#5B6C1F
accent
#F533CB
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0D052A

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

Preview Lab → · Contrast checker → · Palette generator →

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