#0D0134#0D0134

#0D0134 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.094 H 283.0°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0D0134
RGBrgb(13, 1, 52)
HSLhsl(254, 96%, 10%)
HSVhsv(254, 98%, 20%)
CMYKcmyk(75%, 98.1%, 0%, 79.6%)
CIE-LABlab(3.21, 18.80, -29.08)
CIE-LCHlch(3.21, 34.63, 302.89°)
OKLaboklab(16.45% 0.0211 -0.0913)
OKLCHoklch(16.45% 0.094 283)
XYZxyz(0.7965, 0.3551, 3.2747)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0134 #283401
analogous
#010E34 #0D0134 #260134
triadic
#0D0134 #340D01 #01340D
tetradic
#0D0134 #34010E #283401 #013426
square
#0D0134 #34010E #283401 #013426
split-complementary
#0D0134 #342601 #0E3401
monochromatic
#08011E #08011E #0D0134 #1C0270 #2B03AC

Accessibility & contrast

On white

19.61
#0D0134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0134
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0134#FFFFFF#000000##FFFFFF
##0D01341.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0134;
/* rgb */ color: rgb(13, 1, 52);
/* oklch */ color: oklch(16.4% 0.094 283.0);
Tailwind
colors: {
  custom: {
    50: '#50466c',
    500: '#0d0134',
    950: '#000000',
  },
}
SCSS
$custom: #0d0134;
$custom-light: #50466c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0134",
  "rgb": {
    "r": 13,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 254.118,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16446,
    "c": 0.09372,
    "h": 283
  },
  "luminance": 0.00355
}

Semantic roles & 50–950 ramp

primary
#0D0134
secondary
#627918
accent
#FF29CD
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0134

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

Preview Lab → · Contrast checker → · Palette generator →

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