#1D0F55#1D0F55

#1D0F55 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.117 H 282.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#1D0F55
RGBrgb(29, 15, 85)
HSLhsl(252, 70%, 20%)
HSVhsv(252, 82%, 33%)
CMYKcmyk(65.9%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.98, 28.67, -39.66)
CIE-LCHlch(10.98, 48.94, 305.86°)
OKLaboklab(24.53% 0.0257 -0.1144)
OKLCHoklch(24.53% 0.117 282.7)
XYZxyz(2.3167, 1.2586, 8.7134)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F55 #47550F
analogous
#0F2455 #1D0F55 #400F55
triadic
#1D0F55 #551D0F #0F551D
tetradic
#1D0F55 #550F24 #47550F #0F5540
square
#1D0F55 #550F24 #47550F #0F5540
split-complementary
#1D0F55 #55400F #24550F
monochromatic
#09051A #0B0621 #1D0F55 #2F1889 #4021BD

Accessibility & contrast

On white

16.78
#1D0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F55
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F55#FFFFFF#000000##FFFFFF
##1D0F551.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d0f55;
/* rgb */ color: rgb(29, 15, 85);
/* oklch */ color: oklch(24.5% 0.117 282.7);
Tailwind
colors: {
  custom: {
    50: '#624f86',
    500: '#1d0f55',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f55;
$custom-light: #624f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f55",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 252,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24534,
    "c": 0.11722,
    "h": 282.7
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#1D0F55
secondary
#7C8F31
accent
#ED3BC9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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