#0D0530#0D0530

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

Color values

HEX#0D0530
RGBrgb(13, 5, 48)
HSLhsl(251, 81%, 10%)
HSVhsv(251, 90%, 19%)
CMYKcmyk(72.9%, 89.6%, 0%, 81.2%)
CIE-LABlab(3.68, 15.00, -25.34)
CIE-LCHlch(3.68, 29.45, 300.63°)
OKLaboklab(16.85% 0.018 -0.0788)
OKLCHoklch(16.85% 0.081 282.8)
XYZxyz(0.7536, 0.4075, 2.8347)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0530 #283005
analogous
#051230 #0D0530 #220530
triadic
#0D0530 #300D05 #05300D
tetradic
#0D0530 #300512 #283005 #053022
square
#0D0530 #300512 #283005 #053022
split-complementary
#0D0530 #302205 #123005
monochromatic
#08031C #08031C #0D0530 #1C0B67 #2B119F

Accessibility & contrast

On white

19.42
#0D0530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0530
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0530#FFFFFF#000000##FFFFFF
##0D05301.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d0530;
/* rgb */ color: rgb(13, 5, 48);
/* oklch */ color: oklch(16.9% 0.081 282.8);
Tailwind
colors: {
  custom: {
    50: '#4f4869',
    500: '#0d0530',
    950: '#000000',
  },
}
SCSS
$custom: #0d0530;
$custom-light: #4f4869;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0530",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 251.163,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16854,
    "c": 0.08083,
    "h": 282.8
  },
  "luminance": 0.00408
}

Semantic roles & 50–950 ramp

primary
#0D0530
secondary
#62721F
accent
#F830D2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D0530

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

Preview Lab → · Contrast checker → · Palette generator →

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