#1D1152#1D1152

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

Color values

HEX#1D1152
RGBrgb(29, 17, 82)
HSLhsl(251, 66%, 19%)
HSVhsv(251, 79%, 32%)
CMYKcmyk(64.6%, 79.3%, 0%, 67.8%)
CIE-LABlab(11.07, 26.44, -37.47)
CIE-LCHlch(11.07, 45.86, 305.21°)
OKLaboklab(24.5% 0.0249 -0.108)
OKLCHoklch(24.5% 0.111 283)
XYZxyz(2.2297, 1.2712, 8.1089)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1152 #465211
analogous
#112652 #1D1152 #3E1152
triadic
#1D1152 #521D11 #11521D
tetradic
#1D1152 #521126 #465211 #11523E
square
#1D1152 #521126 #465211 #11523E
split-complementary
#1D1152 #523E11 #265211
monochromatic
#090519 #0B061F #1D1152 #2F1C85 #4126B7

Accessibility & contrast

On white

16.74
#1D1152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1152
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1152#FFFFFF#000000##FFFFFF
##1D11521.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d1152;
/* rgb */ color: rgb(29, 17, 82);
/* oklch */ color: oklch(24.5% 0.111 283.0);
Tailwind
colors: {
  custom: {
    50: '#615083',
    500: '#1d1152',
    950: '#000000',
  },
}
SCSS
$custom: #1d1152;
$custom-light: #615083;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1152",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 251.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24496,
    "c": 0.1108,
    "h": 283
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#1D1152
secondary
#7B8B34
accent
#E93FC9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D1152

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

Preview Lab → · Contrast checker → · Palette generator →

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