#0D032D#0D032D

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

Color values

HEX#0D032D
RGBrgb(13, 3, 45)
HSLhsl(254, 88%, 9%)
HSVhsv(254, 93%, 18%)
CMYKcmyk(71.1%, 93.3%, 0%, 82.4%)
CIE-LABlab(3.07, 14.29, -24.05)
CIE-LCHlch(3.07, 27.98, 300.71°)
OKLaboklab(15.99% 0.0218 -0.0774)
OKLCHoklch(15.99% 0.08 285.7)
XYZxyz(0.6721, 0.3401, 2.5123)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D032D #232D03
analogous
#030E2D #0D032D #22032D
triadic
#0D032D #2D0D03 #032D0D
tetradic
#0D032D #2D030E #232D03 #032D22
square
#0D032D #2D030E #232D03 #032D22
split-complementary
#0D032D #2D2203 #0E2D03
monochromatic
#08021D #08021D #0D032D #1E0766 #2E0BA0

Accessibility & contrast

On white

19.66
#0D032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D032D
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D032D#FFFFFF#000000##FFFFFF
##0D032D1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#000A2C
Tritanopia (blue-blind)
#010E17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d032d;
/* rgb */ color: rgb(13, 3, 45);
/* oklch */ color: oklch(16.0% 0.080 285.7);
Tailwind
colors: {
  custom: {
    50: '#4e4866',
    500: '#0d032d',
    950: '#000000',
  },
}
SCSS
$custom: #0d032d;
$custom-light: #4e4866;
$custom-dark: #000000;
JSON
{
  "hex": "#0d032d",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 254.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15986,
    "c": 0.08039,
    "h": 285.7
  },
  "luminance": 0.0034
}

Semantic roles & 50–950 ramp

primary
#0D032D
secondary
#5C711B
accent
#FE2ACB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D032D

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

Preview Lab → · Contrast checker → · Palette generator →

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