#1D0335#1D0335

#1D0335 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.092 H 302.4°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#1D0335
RGBrgb(29, 3, 53)
HSLhsl(271, 89%, 11%)
HSVhsv(271, 94%, 21%)
CMYKcmyk(45.3%, 94.3%, 0%, 79.2%)
CIE-LABlab(5.27, 24.15, -26.42)
CIE-LCHlch(5.27, 35.79, 312.43°)
OKLaboklab(19.2% 0.0491 -0.0774)
OKLCHoklch(19.2% 0.092 302.4)
XYZxyz(1.1817, 0.5834, 3.4178)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0335 #1B3503
analogous
#040335 #1D0335 #350334
triadic
#1D0335 #351D03 #03351D
tetradic
#1D0335 #350403 #1B3503 #033435
square
#1D0335 #350403 #1B3503 #033435
split-complementary
#1D0335 #343503 #033504
monochromatic
#10021D #10021D #1D0335 #3D066F #5C0AA9

Accessibility & contrast

On white

18.81
#1D0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1D0335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0335
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0335#FFFFFF#000000##FFFFFF
##1D03351.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#18101C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d0335;
/* rgb */ color: rgb(29, 3, 53);
/* oklch */ color: oklch(19.2% 0.092 302.4);
Tailwind
colors: {
  custom: {
    50: '#5c476d',
    500: '#1d0335',
    950: '#000000',
  },
}
SCSS
$custom: #1d0335;
$custom-light: #5c476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0335",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 271.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19196,
    "c": 0.09168,
    "h": 302.4
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#1D0335
secondary
#48781C
accent
#FF2990
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0335

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

Preview Lab → · Contrast checker → · Palette generator →

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