#1D0F4F#1D0F4F

#1D0F4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.109 H 284.6°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#1D0F4F
RGBrgb(29, 15, 79)
HSLhsl(253, 68%, 18%)
HSVhsv(253, 81%, 31%)
CMYKcmyk(63.3%, 81%, 0%, 69%)
CIE-LABlab(10.31, 26.62, -36.66)
CIE-LCHlch(10.31, 45.30, 305.99°)
OKLaboklab(23.86% 0.0274 -0.1056)
OKLCHoklch(23.86% 0.109 284.6)
XYZxyz(2.0884, 1.1672, 7.5109)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F4F #414F0F
analogous
#0F214F #1D0F4F #3D0F4F
triadic
#1D0F4F #4F1D0F #0F4F1D
tetradic
#1D0F4F #4F0F21 #414F0F #0F4F3D
square
#1D0F4F #4F0F21 #414F0F #0F4F3D
split-complementary
#1D0F4F #4F3D0F #214F0F
monochromatic
#09051A #0A051C #1D0F4F #301982 #4323B6

Accessibility & contrast

On white

17.03
#1D0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F4F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F4F#FFFFFF#000000##FFFFFF
##1D0F4F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#04212E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0f4f;
/* rgb */ color: rgb(29, 15, 79);
/* oklch */ color: oklch(23.9% 0.109 284.6);
Tailwind
colors: {
  custom: {
    50: '#604f81',
    500: '#1d0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f4f;
$custom-light: #604f81;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f4f",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 253.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23861,
    "c": 0.10907,
    "h": 284.6
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#1D0F4F
secondary
#768931
accent
#EB3DC5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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