#0D0334#0D0334

#0D0334 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.090 H 282.0°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0D0334
RGBrgb(13, 3, 52)
HSLhsl(252, 89%, 11%)
HSVhsv(252, 94%, 20%)
CMYKcmyk(75%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.60, 18.00, -28.45)
CIE-LCHlch(3.60, 33.66, 302.32°)
OKLaboklab(16.92% 0.0188 -0.0881)
OKLCHoklch(16.92% 0.09 282)
XYZxyz(0.8182, 0.3986, 3.2820)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0334 #2A3403
analogous
#031134 #0D0334 #250334
triadic
#0D0334 #340D03 #03340D
tetradic
#0D0334 #340311 #2A3403 #033425
square
#0D0334 #340311 #2A3403 #033425
split-complementary
#0D0334 #342503 #113403
monochromatic
#07021D #07021D #0D0334 #1B066E #2A0AA8

Accessibility & contrast

On white

19.45
#0D0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0D0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0334
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0334#FFFFFF#000000##FFFFFF
##0D03341.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F35
Deuteranopia (green-blind)
#000B33
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d0334;
/* rgb */ color: rgb(13, 3, 52);
/* oklch */ color: oklch(16.9% 0.090 282.0);
Tailwind
colors: {
  custom: {
    50: '#50476c',
    500: '#0d0334',
    950: '#000000',
  },
}
SCSS
$custom: #0d0334;
$custom-light: #50476c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0334",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 252.245,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16917,
    "c": 0.09006,
    "h": 282
  },
  "luminance": 0.00399
}

Semantic roles & 50–950 ramp

primary
#0D0334
secondary
#64771C
accent
#FF29D3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0334

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

Preview Lab → · Contrast checker → · Palette generator →

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