#0D0330#0D0330

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

Color values

HEX#0D0330
RGBrgb(13, 3, 48)
HSLhsl(253, 88%, 10%)
HSVhsv(253, 94%, 19%)
CMYKcmyk(72.9%, 93.8%, 0%, 81.2%)
CIE-LABlab(3.29, 15.81, -25.97)
CIE-LCHlch(3.29, 30.40, 301.33°)
OKLaboklab(16.38% 0.0205 -0.082)
OKLCHoklch(16.38% 0.085 284)
XYZxyz(0.7319, 0.3640, 2.8274)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0330 #263003
analogous
#031030 #0D0330 #230330
triadic
#0D0330 #300D03 #03300D
tetradic
#0D0330 #300310 #263003 #033023
square
#0D0330 #300310 #263003 #033023
split-complementary
#0D0330 #302303 #103003
monochromatic
#08021D #08021D #0D0330 #1D076A #2C0AA3

Accessibility & contrast

On white

19.57
#0D0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0330
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0330#FFFFFF#000000##FFFFFF
##0D03301.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#000A2F
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0d0330;
/* rgb */ color: rgb(13, 3, 48);
/* oklch */ color: oklch(16.4% 0.085 284.0);
Tailwind
colors: {
  custom: {
    50: '#4f4769',
    500: '#0d0330',
    950: '#000000',
  },
}
SCSS
$custom: #0d0330;
$custom-light: #4f4769;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0330",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 253.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.1638,
    "c": 0.08456,
    "h": 284
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#0D0330
secondary
#60731B
accent
#FE29CF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D0330

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

Preview Lab → · Contrast checker → · Palette generator →

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