#1D1155#1D1155

#1D1155 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.115 H 282.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1D1155
RGBrgb(29, 17, 85)
HSLhsl(251, 67%, 20%)
HSVhsv(251, 80%, 33%)
CMYKcmyk(65.9%, 80%, 0%, 66.7%)
CIE-LABlab(11.40, 27.48, -38.98)
CIE-LCHlch(11.40, 47.69, 305.19°)
OKLaboklab(24.83% 0.0241 -0.1124)
OKLCHoklch(24.83% 0.115 282.1)
XYZxyz(2.3463, 1.3178, 8.7233)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1155 #495511
analogous
#112755 #1D1155 #3F1155
triadic
#1D1155 #551D11 #11551D
tetradic
#1D1155 #551127 #495511 #11553F
square
#1D1155 #551127 #495511 #11553F
split-complementary
#1D1155 #553F11 #275511
monochromatic
#09051A #0C0722 #1D1155 #2E1B88 #4025BB

Accessibility & contrast

On white

16.62
#1D1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1D1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1155
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1155#FFFFFF#000000##FFFFFF
##1D11551.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d1155;
/* rgb */ color: rgb(29, 17, 85);
/* oklch */ color: oklch(24.8% 0.115 282.1);
Tailwind
colors: {
  custom: {
    50: '#615086',
    500: '#1d1155',
    950: '#000000',
  },
}
SCSS
$custom: #1d1155;
$custom-light: #615086;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1155",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 250.588,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.24827,
    "c": 0.11494,
    "h": 282.1
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#1D1155
secondary
#7E8E34
accent
#EA3ECB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D1155

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

Preview Lab → · Contrast checker → · Palette generator →

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