#1D0638#1D0638

#1D0638 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.090 H 299.0°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#1D0638
RGBrgb(29, 6, 56)
HSLhsl(268, 81%, 12%)
HSVhsv(268, 89%, 22%)
CMYKcmyk(48.2%, 89.3%, 0%, 78%)
CIE-LABlab(6.12, 23.80, -27.25)
CIE-LCHlch(6.12, 36.18, 311.13°)
OKLaboklab(20.03% 0.0437 -0.0788)
OKLCHoklch(20.03% 0.09 299)
XYZxyz(1.2854, 0.6770, 3.8036)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0638 #213806
analogous
#060838 #1D0638 #360638
triadic
#1D0638 #381D06 #06381D
tetradic
#1D0638 #380608 #213806 #063836
square
#1D0638 #380608 #213806 #063836
split-complementary
#1D0638 #383606 #083806
monochromatic
#0E031C #0E031C #1D0638 #3A0C6F #5612A7

Accessibility & contrast

On white

18.50
#1D0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0638
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0638#FFFFFF#000000##FFFFFF
##1D06381.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#16131E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0638;
/* rgb */ color: rgb(29, 6, 56);
/* oklch */ color: oklch(20.0% 0.090 299.0);
Tailwind
colors: {
  custom: {
    50: '#5c496f',
    500: '#1d0638',
    950: '#000000',
  },
}
SCSS
$custom: #1d0638;
$custom-light: #5c496f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0638",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 267.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20033,
    "c": 0.09008,
    "h": 299
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#1D0638
secondary
#507821
accent
#F7319C
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D0638

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

Preview Lab → · Contrast checker → · Palette generator →

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