#0D0028#0D0028

#0D0028 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.5% C 0.081 H 291.5°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#0D0028
RGBrgb(13, 0, 40)
HSLhsl(260, 100%, 8%)
HSVhsv(260, 100%, 16%)
CMYKcmyk(67.5%, 100%, 0%, 84.3%)
CIE-LABlab(2.16, 13.19, -21.68)
CIE-LCHlch(2.16, 25.38, 301.32°)
OKLaboklab(14.46% 0.0297 -0.0754)
OKLCHoklch(14.46% 0.081 291.5)
XYZxyz(0.5489, 0.2387, 2.0242)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0028 #1B2800
analogous
#000728 #0D0028 #210028
triadic
#0D0028 #280D00 #00280D
tetradic
#0D0028 #280007 #1B2800 #002821
square
#0D0028 #280007 #1B2800 #002821
split-complementary
#0D0028 #282100 #072800
monochromatic
#0A001F #0A001F #0D0028 #210065 #3500A2

Accessibility & contrast

On white

20.04
#0D0028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0D0028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0028
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0028#FFFFFF#000000##FFFFFF
##0D00281.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000829
Deuteranopia (green-blind)
#000727
Tritanopia (blue-blind)
#040913
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0d0028;
/* rgb */ color: rgb(13, 0, 40);
/* oklch */ color: oklch(14.5% 0.081 291.5);
Tailwind
colors: {
  custom: {
    50: '#4d4662',
    500: '#0d0028',
    950: '#000000',
  },
}
SCSS
$custom: #0d0028;
$custom-light: #4d4662;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0028",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 259.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14462,
    "c": 0.08109,
    "h": 291.5
  },
  "luminance": 0.00239
}

Semantic roles & 50–950 ramp

primary
#0D0028
secondary
#527014
accent
#FF29B9
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #0D0028

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

Preview Lab → · Contrast checker → · Palette generator →

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