#1D0948#1D0948

#1D0948 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.107 H 289.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#1D0948
RGBrgb(29, 9, 72)
HSLhsl(259, 78%, 16%)
HSVhsv(259, 88%, 28%)
CMYKcmyk(59.7%, 87.5%, 0%, 71.8%)
CIE-LABlab(8.35, 27.69, -35.03)
CIE-LCHlch(8.35, 44.65, 308.32°)
OKLaboklab(22.24% 0.0347 -0.1008)
OKLCHoklch(22.24% 0.107 289)
XYZxyz(1.7737, 0.9244, 6.2146)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0948 #344809
analogous
#091448 #1D0948 #3C0948
triadic
#1D0948 #481D09 #09481D
tetradic
#1D0948 #480914 #344809 #09483C
square
#1D0948 #480914 #344809 #09483C
split-complementary
#1D0948 #483C09 #144809
monochromatic
#0B031B #0B031B #1D0948 #33107E #4917B5

Accessibility & contrast

On white

17.72
#1D0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0948
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0948#FFFFFF#000000##FFFFFF
##1D09481.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#0C1B28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0948;
/* rgb */ color: rgb(29, 9, 72);
/* oklch */ color: oklch(22.2% 0.107 289.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b7c',
    500: '#1d0948',
    950: '#000000',
  },
}
SCSS
$custom: #1d0948;
$custom-light: #5f4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0948",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 259.048,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22244,
    "c": 0.10657,
    "h": 289
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#1D0948
secondary
#688527
accent
#F434B7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0948

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

Preview Lab → · Contrast checker → · Palette generator →

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