#1D0F56#1D0F56

#1D0F56 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.119 H 282.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#1D0F56
RGBrgb(29, 15, 86)
HSLhsl(252, 70%, 20%)
HSVhsv(252, 83%, 34%)
CMYKcmyk(66.3%, 82.6%, 0%, 66.3%)
CIE-LABlab(11.10, 29.00, -40.16)
CIE-LCHlch(11.10, 49.54, 305.84°)
OKLaboklab(24.65% 0.0254 -0.1158)
OKLCHoklch(24.65% 0.119 282.4)
XYZxyz(2.3567, 1.2746, 8.9241)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F56 #48560F
analogous
#0F2556 #1D0F56 #410F56
triadic
#1D0F56 #561D0F #0F561D
tetradic
#1D0F56 #560F25 #48560F #0F5641
square
#1D0F56 #560F25 #48560F #0F5641
split-complementary
#1D0F56 #56410F #25560F
monochromatic
#09051A #0B0622 #1D0F56 #2F188A #4021BE

Accessibility & contrast

On white

16.73
#1D0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1D0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F56
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F56#FFFFFF#000000##FFFFFF
##1D0F561.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d0f56;
/* rgb */ color: rgb(29, 15, 86);
/* oklch */ color: oklch(24.6% 0.119 282.4);
Tailwind
colors: {
  custom: {
    50: '#624f86',
    500: '#1d0f56',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f56;
$custom-light: #624f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f56",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 251.831,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24648,
    "c": 0.11856,
    "h": 282.4
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#1D0F56
secondary
#7D9031
accent
#ED3BCA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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