#1D0F41#1D0F41

#1D0F41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.089 H 290.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#1D0F41
RGBrgb(29, 15, 65)
HSLhsl(257, 63%, 16%)
HSVhsv(257, 77%, 25%)
CMYKcmyk(55.4%, 76.9%, 0%, 74.5%)
CIE-LABlab(8.86, 21.82, -29.25)
CIE-LCHlch(8.86, 36.49, 306.72°)
OKLaboklab(22.38% 0.0307 -0.0839)
OKLCHoklch(22.38% 0.089 290.1)
XYZxyz(1.6314, 0.9844, 5.1041)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F41 #33410F
analogous
#0F1A41 #1D0F41 #360F41
triadic
#1D0F41 #411D0F #0F411D
tetradic
#1D0F41 #410F1A #33410F #0F4136
square
#1D0F41 #410F1A #33410F #0F4136
split-complementary
#1D0F41 #41360F #1A410F
monochromatic
#0B0619 #0B0619 #1D0F41 #331A73 #4926A4

Accessibility & contrast

On white

17.54
#1D0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1D0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F41
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F41#FFFFFF#000000##FFFFFF
##1D0F411.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#111C26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d0f41;
/* rgb */ color: rgb(29, 15, 65);
/* oklch */ color: oklch(22.4% 0.089 290.1);
Tailwind
colors: {
  custom: {
    50: '#5d4e76',
    500: '#1d0f41',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f41;
$custom-light: #5d4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f41",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 256.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22382,
    "c": 0.08931,
    "h": 290.1
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#1D0F41
secondary
#667B30
accent
#E642B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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