#1D0648#1D0648

#1D0648 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.110 H 289.8°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#1D0648
RGBrgb(29, 6, 72)
HSLhsl(261, 85%, 15%)
HSVhsv(261, 92%, 28%)
CMYKcmyk(59.7%, 91.7%, 0%, 71.8%)
CIE-LABlab(7.76, 29.39, -35.99)
CIE-LCHlch(7.76, 46.46, 309.23°)
OKLaboklab(21.84% 0.0374 -0.1035)
OKLCHoklch(21.84% 0.11 289.8)
XYZxyz(1.7412, 0.8593, 6.2037)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0648 #314806
analogous
#061048 #1D0648 #3E0648
triadic
#1D0648 #481D06 #06481D
tetradic
#1D0648 #480610 #314806 #06483E
square
#1D0648 #480610 #314806 #06483E
split-complementary
#1D0648 #483E06 #104806
monochromatic
#0B021C #0B021C #1D0648 #340B80 #4B0FB9

Accessibility & contrast

On white

17.92
#1D0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0648
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0648#FFFFFF#000000##FFFFFF
##1D06481.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#0C1A28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0648;
/* rgb */ color: rgb(29, 6, 72);
/* oklch */ color: oklch(21.8% 0.110 289.8);
Tailwind
colors: {
  custom: {
    50: '#60497c',
    500: '#1d0648',
    950: '#000000',
  },
}
SCSS
$custom: #1d0648;
$custom-light: #60497c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0648",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 260.909,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21839,
    "c": 0.11007,
    "h": 289.8
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#1D0648
secondary
#648723
accent
#FB2DB3
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0648

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

Preview Lab → · Contrast checker → · Palette generator →

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