#1D0639#1D0639

#1D0639 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.091 H 298.3°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#1D0639
RGBrgb(29, 6, 57)
HSLhsl(267, 81%, 12%)
HSVhsv(267, 89%, 22%)
CMYKcmyk(49.1%, 89.5%, 0%, 77.6%)
CIE-LABlab(6.20, 24.18, -27.83)
CIE-LCHlch(6.20, 36.87, 310.98°)
OKLaboklab(20.14% 0.0433 -0.0804)
OKLCHoklch(20.14% 0.091 298.3)
XYZxyz(1.3101, 0.6868, 3.9336)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0639 #223906
analogous
#060839 #1D0639 #370639
triadic
#1D0639 #391D06 #06391D
tetradic
#1D0639 #390608 #223906 #063937
square
#1D0639 #390608 #223906 #063937
split-complementary
#1D0639 #393706 #083906
monochromatic
#0E031C #0E031C #1D0639 #390C70 #5512A8

Accessibility & contrast

On white

18.46
#1D0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0639
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0639#FFFFFF#000000##FFFFFF
##1D06391.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#16141F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0639;
/* rgb */ color: rgb(29, 6, 57);
/* oklch */ color: oklch(20.1% 0.091 298.3);
Tailwind
colors: {
  custom: {
    50: '#5d4970',
    500: '#1d0639',
    950: '#000000',
  },
}
SCSS
$custom: #1d0639;
$custom-light: #5d4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0639",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 267.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2014,
    "c": 0.09135,
    "h": 298.3
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#1D0639
secondary
#527922
accent
#F7309E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D0639

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

Preview Lab → · Contrast checker → · Palette generator →

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