#1D063B#1D063B

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

Color values

HEX#1D063B
RGBrgb(29, 6, 59)
HSLhsl(266, 82%, 13%)
HSVhsv(266, 90%, 23%)
CMYKcmyk(50.8%, 89.8%, 0%, 76.9%)
CIE-LABlab(6.39, 24.92, -28.98)
CIE-LCHlch(6.39, 38.22, 310.68°)
OKLaboklab(20.36% 0.0426 -0.0836)
OKLCHoklch(20.36% 0.094 297)
XYZxyz(1.3610, 0.7072, 4.2016)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D063B #243B06
analogous
#06093B #1D063B #37063B
triadic
#1D063B #3B1D06 #063B1D
tetradic
#1D063B #3B0609 #243B06 #063B37
square
#1D063B #3B0609 #243B06 #063B37
split-complementary
#1D063B #3B3706 #093B06
monochromatic
#0E031C #0E031C #1D063B #380C73 #5411AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D063B#FFFFFF#000000##FFFFFF
##1D063B1.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)
#00143C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#151420
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d063b;
/* rgb */ color: rgb(29, 6, 59);
/* oklch */ color: oklch(20.4% 0.094 297.0);
Tailwind
colors: {
  custom: {
    50: '#5d4971',
    500: '#1d063b',
    950: '#000000',
  },
}
SCSS
$custom: #1d063b;
$custom-light: #5d4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1d063b",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 266.038,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20356,
    "c": 0.09386,
    "h": 297
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#1D063B
secondary
#547B22
accent
#F830A1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1D063B

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

Preview Lab → · Contrast checker → · Palette generator →

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