#0D0124#0D0124

#0D0124 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.073 H 294.0°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#0D0124
RGBrgb(13, 1, 36)
HSLhsl(261, 95%, 7%)
HSVhsv(261, 97%, 14%)
CMYKcmyk(63.9%, 97.2%, 0%, 85.9%)
CIE-LABlab(2.12, 11.15, -18.63)
CIE-LCHlch(2.12, 21.71, 300.91°)
OKLaboklab(14.24% 0.0298 -0.0669)
OKLCHoklch(14.24% 0.073 294)
XYZxyz(0.4952, 0.2346, 1.6879)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0124 #182401
analogous
#010724 #0D0124 #1F0124
triadic
#0D0124 #240D01 #01240D
tetradic
#0D0124 #240107 #182401 #01241F
square
#0D0124 #240107 #182401 #01241F
split-complementary
#0D0124 #241F01 #072401
monochromatic
#0B011E #0B011E #0D0124 #230360 #38049B

Accessibility & contrast

On white

20.06
#0D0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0124
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0124#FFFFFF#000000##FFFFFF
##0D01241.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000825
Deuteranopia (green-blind)
#000723
Tritanopia (blue-blind)
#060811
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0d0124;
/* rgb */ color: rgb(13, 1, 36);
/* oklch */ color: oklch(14.2% 0.073 294.0);
Tailwind
colors: {
  custom: {
    50: '#4c475e',
    500: '#0d0124',
    950: '#000000',
  },
}
SCSS
$custom: #0d0124;
$custom-light: #4c475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0124",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 260.571,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.14236,
    "c": 0.07324,
    "h": 294
  },
  "luminance": 0.00235
}

Semantic roles & 50–950 ramp

primary
#0D0124
secondary
#4E6B16
accent
#FF29B6
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D0124

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

Preview Lab → · Contrast checker → · Palette generator →

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