#0D0535#0D0535

#0D0535 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.088 H 280.6°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#0D0535
RGBrgb(13, 5, 53)
HSLhsl(250, 83%, 11%)
HSVhsv(250, 91%, 21%)
CMYKcmyk(75.5%, 90.6%, 0%, 79.2%)
CIE-LABlab(4.07, 17.77, -28.42)
CIE-LCHlch(4.07, 33.52, 302.01°)
OKLaboklab(17.49% 0.0162 -0.0866)
OKLCHoklch(17.49% 0.088 280.6)
XYZxyz(0.8627, 0.4511, 3.4091)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0535 #2D3505
analogous
#051535 #0D0535 #250535
triadic
#0D0535 #350D05 #05350D
tetradic
#0D0535 #350515 #2D3505 #053525
square
#0D0535 #350515 #2D3505 #053525
split-complementary
#0D0535 #352505 #153505
monochromatic
#07031C #07031C #0D0535 #1B0A6D #2810A5

Accessibility & contrast

On white

19.26
#0D0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D0535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0535
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0535#FFFFFF#000000##FFFFFF
##0D05351.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d0535;
/* rgb */ color: rgb(13, 5, 53);
/* oklch */ color: oklch(17.5% 0.088 280.6);
Tailwind
colors: {
  custom: {
    50: '#51486d',
    500: '#0d0535',
    950: '#000000',
  },
}
SCSS
$custom: #0d0535;
$custom-light: #51486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0535",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 250,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17492,
    "c": 0.08807,
    "h": 280.6
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#0D0535
secondary
#687620
accent
#F92FD7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0535

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

Preview Lab → · Contrast checker → · Palette generator →

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