#1D0341#1D0341

#1D0341 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.106 H 294.4°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#1D0341
RGBrgb(29, 3, 65)
HSLhsl(265, 91%, 13%)
HSVhsv(265, 95%, 25%)
CMYKcmyk(55.4%, 95.4%, 0%, 74.5%)
CIE-LABlab(6.39, 28.70, -33.28)
CIE-LCHlch(6.39, 43.95, 310.77°)
OKLaboklab(20.57% 0.0436 -0.0962)
OKLCHoklch(20.57% 0.106 294.4)
XYZxyz(1.4931, 0.7079, 5.0580)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0341 #274103
analogous
#030841 #1D0341 #3C0341
triadic
#1D0341 #411D03 #03411D
tetradic
#1D0341 #410308 #274103 #03413C
square
#1D0341 #410308 #274103 #03413C
split-complementary
#1D0341 #413C03 #084103
monochromatic
#0D011D #0D011D #1D0341 #37067B #5108B6

Accessibility & contrast

On white

18.40
#1D0341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D0341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0341
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0341#FFFFFF#000000##FFFFFF
##1D03411.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#121523
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0341;
/* rgb */ color: rgb(29, 3, 65);
/* oklch */ color: oklch(20.6% 0.106 294.4);
Tailwind
colors: {
  custom: {
    50: '#5e4776',
    500: '#1d0341',
    950: '#000000',
  },
}
SCSS
$custom: #1d0341;
$custom-light: #5e4776;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0341",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 265.161,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2057,
    "c": 0.1056,
    "h": 294.4
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#1D0341
secondary
#58831D
accent
#FF29A5
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1D0341

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

Preview Lab → · Contrast checker → · Palette generator →

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