#0D0333#0D0333

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

Color values

HEX#0D0333
RGBrgb(13, 3, 51)
HSLhsl(253, 89%, 11%)
HSVhsv(253, 94%, 20%)
CMYKcmyk(74.5%, 94.1%, 0%, 80%)
CIE-LABlab(3.52, 17.43, -27.84)
CIE-LCHlch(3.52, 32.85, 302.06°)
OKLaboklab(16.78% 0.0192 -0.0866)
OKLCHoklch(16.78% 0.089 282.5)
XYZxyz(0.7959, 0.3896, 3.1646)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0333 #293303
analogous
#031133 #0D0333 #250333
triadic
#0D0333 #330D03 #03330D
tetradic
#0D0333 #330311 #293303 #033325
square
#0D0333 #330311 #293303 #033325
split-complementary
#0D0333 #332503 #113303
monochromatic
#07021D #07021D #0D0333 #1C066D #2A0AA7

Accessibility & contrast

On white

19.48
#0D0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0333
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0333#FFFFFF#000000##FFFFFF
##0D03331.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0333;
/* rgb */ color: rgb(13, 3, 51);
/* oklch */ color: oklch(16.8% 0.089 282.5);
Tailwind
colors: {
  custom: {
    50: '#50476b',
    500: '#0d0333',
    950: '#000000',
  },
}
SCSS
$custom: #0d0333;
$custom-light: #50476b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0333",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 252.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16781,
    "c": 0.08869,
    "h": 282.5
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#0D0333
secondary
#63761C
accent
#FF29D2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0333

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

Preview Lab → · Contrast checker → · Palette generator →

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