#1D0F4D#1D0F4D

#1D0F4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.106 H 285.2°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#1D0F4D
RGBrgb(29, 15, 77)
HSLhsl(254, 67%, 18%)
HSVhsv(254, 81%, 30%)
CMYKcmyk(62.3%, 80.5%, 0%, 69.8%)
CIE-LABlab(10.10, 25.94, -35.63)
CIE-LCHlch(10.10, 44.07, 306.05°)
OKLaboklab(23.64% 0.028 -0.1026)
OKLCHoklch(23.64% 0.106 285.2)
XYZxyz(2.0167, 1.1386, 7.1332)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F4D #3F4D0F
analogous
#0F204D #1D0F4D #3C0F4D
triadic
#1D0F4D #4D1D0F #0F4D1D
tetradic
#1D0F4D #4D0F20 #3F4D0F #0F4D3C
square
#1D0F4D #4D0F20 #3F4D0F #0F4D3C
split-complementary
#1D0F4D #4D3C0F #204D0F
monochromatic
#0A051A #0A051A #1D0F4D #301980 #4423B3

Accessibility & contrast

On white

17.10
#1D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1D0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F4D
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F4D#FFFFFF#000000##FFFFFF
##1D0F4D1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#06202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0f4d;
/* rgb */ color: rgb(29, 15, 77);
/* oklch */ color: oklch(23.6% 0.106 285.2);
Tailwind
colors: {
  custom: {
    50: '#604f7f',
    500: '#1d0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f4d;
$custom-light: #604f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f4d",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 253.548,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23641,
    "c": 0.10632,
    "h": 285.2
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#1D0F4D
secondary
#748731
accent
#EA3EC3
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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