#1D0640#1D0640

#1D0640 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.100 H 294.0°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#1D0640
RGBrgb(29, 6, 64)
HSLhsl(264, 83%, 14%)
HSVhsv(264, 91%, 25%)
CMYKcmyk(54.7%, 90.6%, 0%, 74.9%)
CIE-LABlab(6.88, 26.71, -31.78)
CIE-LCHlch(6.88, 41.51, 310.05°)
OKLaboklab(20.91% 0.0407 -0.0915)
OKLCHoklch(20.91% 0.1 294)
XYZxyz(1.4970, 0.7616, 4.9176)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0640 #294006
analogous
#060C40 #1D0640 #3A0640
triadic
#1D0640 #401D06 #06401D
tetradic
#1D0640 #40060C #294006 #06403A
square
#1D0640 #40060C #294006 #06403A
split-complementary
#1D0640 #403A06 #0C4006
monochromatic
#0D031C #0D031C #1D0640 #360B78 #5010B0

Accessibility & contrast

On white

18.22
#1D0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0640
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0640#FFFFFF#000000##FFFFFF
##1D06401.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#121723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d0640;
/* rgb */ color: rgb(29, 6, 64);
/* oklch */ color: oklch(20.9% 0.100 294.0);
Tailwind
colors: {
  custom: {
    50: '#5e4975',
    500: '#1d0640',
    950: '#000000',
  },
}
SCSS
$custom: #1d0640;
$custom-light: #5e4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0640",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 263.793,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20912,
    "c": 0.10013,
    "h": 294
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#1D0640
secondary
#5B8022
accent
#F92FA9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0640

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

Preview Lab → · Contrast checker → · Palette generator →

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