#0D0024#0D0024

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

Color values

HEX#0D0024
RGBrgb(13, 0, 36)
HSLhsl(262, 100%, 7%)
HSVhsv(262, 100%, 14%)
CMYKcmyk(63.9%, 100%, 0%, 85.9%)
CIE-LABlab(1.92, 11.55, -18.93)
CIE-LCHlch(1.92, 22.18, 301.39°)
OKLaboklab(13.91% 0.0323 -0.0692)
OKLCHoklch(13.91% 0.076 295)
XYZxyz(0.4843, 0.2129, 1.6843)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0024 #172400
analogous
#000524 #0D0024 #1F0024
triadic
#0D0024 #240D00 #00240D
tetradic
#0D0024 #240005 #172400 #00241F
square
#0D0024 #240005 #172400 #00241F
split-complementary
#0D0024 #241F00 #052400
monochromatic
#0B001F #0B001F #0D0024 #230061 #39009E

Accessibility & contrast

On white

20.14
#0D0024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0D0024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0024
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0024#FFFFFF#000000##FFFFFF
##0D00241.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000725
Deuteranopia (green-blind)
#000623
Tritanopia (blue-blind)
#060810
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0d0024;
/* rgb */ color: rgb(13, 0, 36);
/* oklch */ color: oklch(13.9% 0.076 295.0);
Tailwind
colors: {
  custom: {
    50: '#4c465e',
    500: '#0d0024',
    950: '#000000',
  },
}
SCSS
$custom: #0d0024;
$custom-light: #4c465e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0024",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 261.667,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13905,
    "c": 0.07635,
    "h": 295
  },
  "luminance": 0.00213
}

Semantic roles & 50–950 ramp

primary
#0D0024
secondary
#4C6D13
accent
#FF29B2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D0024

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

Preview Lab → · Contrast checker → · Palette generator →

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