#1D0F49#1D0F49

#1D0F49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.101 H 286.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1D0F49
RGBrgb(29, 15, 73)
HSLhsl(254, 66%, 17%)
HSVhsv(254, 79%, 29%)
CMYKcmyk(60.3%, 79.5%, 0%, 71.4%)
CIE-LABlab(9.67, 24.57, -33.55)
CIE-LCHlch(9.67, 41.58, 306.21°)
OKLaboklab(23.21% 0.029 -0.0965)
OKLCHoklch(23.21% 0.101 286.7)
XYZxyz(1.8798, 1.0838, 6.4122)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F49 #3B490F
analogous
#0F1E49 #1D0F49 #3A0F49
triadic
#1D0F49 #491D0F #0F491D
tetradic
#1D0F49 #490F1E #3B490F #0F493A
square
#1D0F49 #490F1E #3B490F #0F493A
split-complementary
#1D0F49 #493A0F #1E490F
monochromatic
#0A0519 #0A0519 #1D0F49 #31197C #4524AF

Accessibility & contrast

On white

17.26
#1D0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1D0F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F49
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F49#FFFFFF#000000##FFFFFF
##1D0F491.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#0A1E2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0f49;
/* rgb */ color: rgb(29, 15, 73);
/* oklch */ color: oklch(23.2% 0.101 286.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e7c',
    500: '#1d0f49',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f49;
$custom-light: #5f4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f49",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 254.483,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2321,
    "c": 0.10074,
    "h": 286.7
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#1D0F49
secondary
#6F8330
accent
#E93FC0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #1D0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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