#0D0135#0D0135

#0D0135 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.095 H 282.5°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#0D0135
RGBrgb(13, 1, 53)
HSLhsl(254, 96%, 11%)
HSVhsv(254, 98%, 21%)
CMYKcmyk(75.5%, 98.1%, 0%, 79.2%)
CIE-LABlab(3.29, 19.37, -29.69)
CIE-LCHlch(3.29, 35.45, 303.13°)
OKLaboklab(16.59% 0.0205 -0.0927)
OKLCHoklch(16.59% 0.095 282.5)
XYZxyz(0.8192, 0.3643, 3.3946)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0135 #293501
analogous
#010F35 #0D0135 #270135
triadic
#0D0135 #350D01 #01350D
tetradic
#0D0135 #35010F #293501 #013527
square
#0D0135 #35010F #293501 #013527
split-complementary
#0D0135 #352701 #0F3501
monochromatic
#07011E #07011E #0D0135 #1C0271 #2A03AD

Accessibility & contrast

On white

19.57
#0D0135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0D0135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0135
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0135#FFFFFF#000000##FFFFFF
##0D01351.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E36
Deuteranopia (green-blind)
#000A34
Tritanopia (blue-blind)
#00101B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0d0135;
/* rgb */ color: rgb(13, 1, 53);
/* oklch */ color: oklch(16.6% 0.095 282.5);
Tailwind
colors: {
  custom: {
    50: '#51466d',
    500: '#0d0135',
    950: '#000000',
  },
}
SCSS
$custom: #0d0135;
$custom-light: #51466d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0135",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 53
  },
  "hsl": {
    "h": 253.846,
    "s": 96.296,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1659,
    "c": 0.09499,
    "h": 282.5
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#0D0135
secondary
#637A18
accent
#FF29CE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0135

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

Preview Lab → · Contrast checker → · Palette generator →

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