#0D0023#0D0023

#0D0023 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.8% C 0.075 H 296.0°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#0D0023
RGBrgb(13, 0, 35)
HSLhsl(262, 100%, 7%)
HSVhsv(262, 100%, 14%)
CMYKcmyk(62.9%, 100%, 0%, 86.3%)
CIE-LABlab(1.87, 11.17, -18.23)
CIE-LCHlch(1.87, 21.38, 301.49°)
OKLaboklab(13.77% 0.0329 -0.0676)
OKLCHoklch(13.77% 0.075 296)
XYZxyz(0.4693, 0.2069, 1.6050)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0023 #162300
analogous
#000523 #0D0023 #1F0023
triadic
#0D0023 #230D00 #00230D
tetradic
#0D0023 #230005 #162300 #00231F
square
#0D0023 #230005 #162300 #00231F
split-complementary
#0D0023 #231F00 #052300
monochromatic
#0B001F #0B001F #0D0023 #240060 #3A009D

Accessibility & contrast

On white

20.17
#0D0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0023
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0023#FFFFFF#000000##FFFFFF
##0D00231.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000724
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#070710
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0d0023;
/* rgb */ color: rgb(13, 0, 35);
/* oklch */ color: oklch(13.8% 0.075 296.0);
Tailwind
colors: {
  custom: {
    50: '#4c465e',
    500: '#0d0023',
    950: '#000000',
  },
}
SCSS
$custom: #0d0023;
$custom-light: #4c465e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0023",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 262.286,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13768,
    "c": 0.07518,
    "h": 296
  },
  "luminance": 0.00207
}

Semantic roles & 50–950 ramp

primary
#0D0023
secondary
#4B6C13
accent
#FF29AF
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D0023

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

Preview Lab → · Contrast checker → · Palette generator →

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