#1D133F#1D133F

#1D133F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.080 H 288.9°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#1D133F
RGBrgb(29, 19, 63)
HSLhsl(254, 54%, 16%)
HSVhsv(254, 70%, 25%)
CMYKcmyk(54%, 69.8%, 0%, 75.3%)
CIE-LABlab(9.69, 18.39, -26.49)
CIE-LCHlch(9.69, 32.25, 304.78°)
OKLaboklab(22.92% 0.026 -0.0757)
OKLCHoklch(22.92% 0.08 288.9)
XYZxyz(1.6365, 1.0858, 4.8250)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D133F #353F13
analogous
#131F3F #1D133F #33133F
triadic
#1D133F #3F1D13 #133F1D
tetradic
#1D133F #3F131F #353F13 #133F33
square
#1D133F #3F131F #353F13 #133F33
split-complementary
#1D133F #3F3313 #1F3F13
monochromatic
#0B0718 #0B0718 #1D133F #33216E #482F9D

Accessibility & contrast

On white

17.25
#1D133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1D133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D133F
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D133F#FFFFFF#000000##FFFFFF
##1D133F1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#121D26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d133f;
/* rgb */ color: rgb(29, 19, 63);
/* oklch */ color: oklch(22.9% 0.080 288.9);
Tailwind
colors: {
  custom: {
    50: '#5d5174',
    500: '#1d133f',
    950: '#000000',
  },
}
SCSS
$custom: #1d133f;
$custom-light: #5d5174;
$custom-dark: #000000;
JSON
{
  "hex": "#1d133f",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 253.636,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22921,
    "c": 0.08008,
    "h": 288.9
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#1D133F
secondary
#697836
accent
#DD4BBC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1D133F

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

Preview Lab → · Contrast checker → · Palette generator →

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