#0D0621#0D0621

#0D0621 is a very dark, muted violet. Relative luminance 0.003; OKLCH L 15.4% C 0.055 H 291.2°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#0D0621
RGBrgb(13, 6, 33)
HSLhsl(256, 69%, 8%)
HSVhsv(256, 82%, 13%)
CMYKcmyk(60.6%, 81.8%, 0%, 87.1%)
CIE-LABlab(2.94, 8.03, -15.02)
CIE-LCHlch(2.94, 17.03, 298.13°)
OKLaboklab(15.38% 0.02 -0.0515)
OKLCHoklch(15.38% 0.055 291.2)
XYZxyz(0.5055, 0.3256, 1.4748)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0621 #1A2106
analogous
#060C21 #0D0621 #1B0621
triadic
#0D0621 #210D06 #06210D
tetradic
#0D0621 #21060C #1A2106 #06211B
square
#0D0621 #21060C #1A2106 #06211B
split-complementary
#0D0621 #211B06 #0C2106
monochromatic
#0A051A #0A051A #0D0621 #210F55 #361989

Accessibility & contrast

On white

19.71
#0D0621 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0621
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0621#FFFFFF#000000##FFFFFF
##0D06211.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B22
Deuteranopia (green-blind)
#000A20
Tritanopia (blue-blind)
#070C12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d0621;
/* rgb */ color: rgb(13, 6, 33);
/* oklch */ color: oklch(15.4% 0.055 291.2);
Tailwind
colors: {
  custom: {
    50: '#4c495c',
    500: '#0d0621',
    950: '#000000',
  },
}
SCSS
$custom: #0d0621;
$custom-light: #4c495c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0621",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 33
  },
  "hsl": {
    "h": 255.556,
    "s": 69.231,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15384,
    "c": 0.05527,
    "h": 291.2
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#0D0621
secondary
#516122
accent
#EC3CBE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D0621

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

Preview Lab → · Contrast checker → · Palette generator →

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