#1D0439#1D0439

#1D0439 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.095 H 299.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1D0439
RGBrgb(29, 4, 57)
HSLhsl(268, 87%, 12%)
HSVhsv(268, 93%, 22%)
CMYKcmyk(49.1%, 93%, 0%, 77.6%)
CIE-LABlab(5.81, 25.20, -28.47)
CIE-LCHlch(5.81, 38.02, 311.52°)
OKLaboklab(19.81% 0.046 -0.0827)
OKLCHoklch(19.81% 0.095 299.1)
XYZxyz(1.2884, 0.6434, 3.9264)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0439 #203904
analogous
#040639 #1D0439 #380439
triadic
#1D0439 #391D04 #04391D
tetradic
#1D0439 #390406 #203904 #043938
square
#1D0439 #390406 #203904 #043938
split-complementary
#1D0439 #393804 #063904
monochromatic
#0F021D #0F021D #1D0439 #3A0872 #570CAB

Accessibility & contrast

On white

18.61
#1D0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0439
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0439#FFFFFF#000000##FFFFFF
##1D04391.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#16121E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0439;
/* rgb */ color: rgb(29, 4, 57);
/* oklch */ color: oklch(19.8% 0.095 299.1);
Tailwind
colors: {
  custom: {
    50: '#5d4770',
    500: '#1d0439',
    950: '#000000',
  },
}
SCSS
$custom: #1d0439;
$custom-light: #5d4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0439",
  "rgb": {
    "r": 29,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 268.302,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1981,
    "c": 0.09461,
    "h": 299.1
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#1D0439
secondary
#4F7B1E
accent
#FD2B9A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0439

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

Preview Lab → · Contrast checker → · Palette generator →

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