#1D0236#1D0236

#1D0236 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.095 H 302.1°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#1D0236
RGBrgb(29, 2, 54)
HSLhsl(271, 93%, 11%)
HSVhsv(271, 96%, 21%)
CMYKcmyk(46.3%, 96.3%, 0%, 78.8%)
CIE-LABlab(5.16, 25.04, -27.33)
CIE-LCHlch(5.16, 37.07, 312.49°)
OKLaboklab(19.13% 0.0503 -0.0802)
OKLCHoklch(19.13% 0.095 302.1)
XYZxyz(1.1941, 0.5710, 3.5366)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0236 #1B3602
analogous
#030236 #1D0236 #360235
triadic
#1D0236 #361D02 #02361D
tetradic
#1D0236 #360302 #1B3602 #023536
square
#1D0236 #360302 #1B3602 #023536
split-complementary
#1D0236 #353602 #023603
monochromatic
#10011E #10011E #1D0236 #3D0471 #5C06AC

Accessibility & contrast

On white

18.85
#1D0236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D0236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0236
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0236#FFFFFF#000000##FFFFFF
##1D02361.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#17101C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d0236;
/* rgb */ color: rgb(29, 2, 54);
/* oklch */ color: oklch(19.1% 0.095 302.1);
Tailwind
colors: {
  custom: {
    50: '#5c466d',
    500: '#1d0236',
    950: '#000000',
  },
}
SCSS
$custom: #1d0236;
$custom-light: #5c466d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0236",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 271.154,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19128,
    "c": 0.09469,
    "h": 302.1
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#1D0236
secondary
#487A1A
accent
#FF2990
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0236

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

Preview Lab → · Contrast checker → · Palette generator →

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