#0D0123#0D0123

#0D0123 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.1% C 0.072 H 295.0°. Best body text is #FFFFFF at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#0D0123
RGBrgb(13, 1, 35)
HSLhsl(261, 94%, 7%)
HSVhsv(261, 97%, 14%)
CMYKcmyk(62.9%, 97.1%, 0%, 86.3%)
CIE-LABlab(2.06, 10.77, -17.93)
CIE-LCHlch(2.06, 20.91, 300.99°)
OKLaboklab(14.11% 0.0304 -0.0652)
OKLCHoklch(14.11% 0.072 295)
XYZxyz(0.4801, 0.2286, 1.6086)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0123 #172301
analogous
#010623 #0D0123 #1E0123
triadic
#0D0123 #230D01 #01230D
tetradic
#0D0123 #230106 #172301 #01231E
square
#0D0123 #230106 #172301 #01231E
split-complementary
#0D0123 #231E01 #062301
monochromatic
#0B011E #0B011E #0D0123 #23035F #39049A

Accessibility & contrast

On white

20.08
#0D0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0123
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0123#FFFFFF#000000##FFFFFF
##0D01231.0020.081.0520.08
#FFFFFF20.081.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000824
Deuteranopia (green-blind)
#000722
Tritanopia (blue-blind)
#070810
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0d0123;
/* rgb */ color: rgb(13, 1, 35);
/* oklch */ color: oklch(14.1% 0.072 295.0);
Tailwind
colors: {
  custom: {
    50: '#4c475e',
    500: '#0d0123',
    950: '#000000',
  },
}
SCSS
$custom: #0d0123;
$custom-light: #4c475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0123",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 261.176,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.14106,
    "c": 0.07196,
    "h": 295
  },
  "luminance": 0.00229
}

Semantic roles & 50–950 ramp

primary
#0D0123
secondary
#4C6A16
accent
#FF29B3
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D0123

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

Preview Lab → · Contrast checker → · Palette generator →

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