#1D0330#1D0330

#1D0330 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.086 H 306.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#1D0330
RGBrgb(29, 3, 48)
HSLhsl(275, 88%, 10%)
HSVhsv(275, 94%, 19%)
CMYKcmyk(39.6%, 93.8%, 0%, 81.2%)
CIE-LABlab(4.88, 22.17, -23.35)
CIE-LCHlch(4.88, 32.20, 313.52°)
OKLaboklab(18.66% 0.0511 -0.0691)
OKLCHoklch(18.66% 0.086 306.5)
XYZxyz(1.0726, 0.5397, 2.8434)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0330 #163003
analogous
#070330 #1D0330 #30032C
triadic
#1D0330 #301D03 #03301D
tetradic
#1D0330 #300703 #163003 #032C30
square
#1D0330 #300703 #163003 #032C30
split-complementary
#1D0330 #2C3003 #033007
monochromatic
#11021D #11021D #1D0330 #40076A #630AA3

Accessibility & contrast

On white

18.95
#1D0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D0330#FFFFFF#000000##FFFFFF
##1D03301.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#1A0E19
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d0330;
/* rgb */ color: rgb(29, 3, 48);
/* oklch */ color: oklch(18.7% 0.086 306.5);
Tailwind
colors: {
  custom: {
    50: '#5b4769',
    500: '#1d0330',
    950: '#000000',
  },
}
SCSS
$custom: #1d0330;
$custom-light: #5b4769;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0330",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 274.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.18662,
    "c": 0.08592,
    "h": 306.5
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#1D0330
secondary
#41731B
accent
#FE2983
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D0330

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

Preview Lab → · Contrast checker → · Palette generator →

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