#1D0E48#1D0E48

#1D0E48 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.101 H 287.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#1D0E48
RGBrgb(29, 14, 72)
HSLhsl(256, 67%, 17%)
HSVhsv(256, 81%, 28%)
CMYKcmyk(59.7%, 80.6%, 0%, 71.8%)
CIE-LABlab(9.35, 24.84, -33.39)
CIE-LCHlch(9.35, 41.61, 306.65°)
OKLaboklab(22.95% 0.0302 -0.096)
OKLCHoklch(22.95% 0.101 287.5)
XYZxyz(1.8331, 1.0431, 6.2344)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E48 #39480E
analogous
#0E1C48 #1D0E48 #3A0E48
triadic
#1D0E48 #481D0E #0E481D
tetradic
#1D0E48 #480E1C #39480E #0E483A
square
#1D0E48 #480E1C #39480E #0E483A
split-complementary
#1D0E48 #483A0E #1C480E
monochromatic
#0A051A #0A051A #1D0E48 #32187B #4622AE

Accessibility & contrast

On white

17.38
#1D0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1D0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E48
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E48#FFFFFF#000000##FFFFFF
##1D0E481.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#0B1E2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0e48;
/* rgb */ color: rgb(29, 14, 72);
/* oklch */ color: oklch(22.9% 0.101 287.5);
Tailwind
colors: {
  custom: {
    50: '#5f4e7c',
    500: '#1d0e48',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e48;
$custom-light: #5f4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e48",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 255.517,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22946,
    "c": 0.10064,
    "h": 287.5
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#1D0E48
secondary
#6D832F
accent
#EA3DBE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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