#0D0127#0D0127

#0D0127 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.6% C 0.077 H 291.5°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#0D0127
RGBrgb(13, 1, 39)
HSLhsl(259, 95%, 8%)
HSVhsv(259, 97%, 15%)
CMYKcmyk(66.7%, 97.4%, 0%, 84.7%)
CIE-LABlab(2.29, 12.36, -20.69)
CIE-LCHlch(2.29, 24.11, 300.85°)
OKLaboklab(14.63% 0.0282 -0.0717)
OKLCHoklch(14.63% 0.077 291.5)
XYZxyz(0.5429, 0.2537, 1.9394)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0127 #1B2701
analogous
#010827 #0D0127 #200127
triadic
#0D0127 #270D01 #01270D
tetradic
#0D0127 #270108 #1B2701 #012720
square
#0D0127 #270108 #1B2701 #012720
split-complementary
#0D0127 #272001 #082701
monochromatic
#0A011E #0A011E #0D0127 #210363 #35049E

Accessibility & contrast

On white

19.98
#0D0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0127
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0127#FFFFFF#000000##FFFFFF
##0D01271.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000826
Tritanopia (blue-blind)
#050A13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0d0127;
/* rgb */ color: rgb(13, 1, 39);
/* oklch */ color: oklch(14.6% 0.077 291.5);
Tailwind
colors: {
  custom: {
    50: '#4d4761',
    500: '#0d0127',
    950: '#000000',
  },
}
SCSS
$custom: #0d0127;
$custom-light: #4d4761;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0127",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 258.947,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14634,
    "c": 0.07708,
    "h": 291.5
  },
  "luminance": 0.00254
}

Semantic roles & 50–950 ramp

primary
#0D0127
secondary
#526E16
accent
#FF29BB
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #0D0127

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

Preview Lab → · Contrast checker → · Palette generator →

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