#1A0D44#1A0D44

#1A0D44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.097 H 286.3°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#1A0D44
RGBrgb(26, 13, 68)
HSLhsl(254, 68%, 16%)
HSVhsv(254, 81%, 27%)
CMYKcmyk(61.8%, 80.9%, 0%, 73.3%)
CIE-LABlab(8.35, 23.54, -32.23)
CIE-LCHlch(8.35, 39.91, 306.15°)
OKLaboklab(22.03% 0.0271 -0.0927)
OKLCHoklch(22.03% 0.097 286.3)
XYZxyz(1.6130, 0.9247, 5.5612)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D44 #37440D
analogous
#0D1B44 #1A0D44 #350D44
triadic
#1A0D44 #441A0D #0D441A
tetradic
#1A0D44 #440D1B #37440D #0D4435
square
#1A0D44 #440D1B #37440D #0D4435
split-complementary
#1A0D44 #44350D #1B440D
monochromatic
#0A051A #0A051A #1A0D44 #2E1777 #4121AB

Accessibility & contrast

On white

17.72
#1A0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1A0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D44
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D44#FFFFFF#000000##FFFFFF
##1A0D441.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001743
Tritanopia (blue-blind)
#081C27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0d44;
/* rgb */ color: rgb(26, 13, 68);
/* oklch */ color: oklch(22.0% 0.097 286.3);
Tailwind
colors: {
  custom: {
    50: '#5c4d78',
    500: '#1a0d44',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d44;
$custom-light: #5c4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d44",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 254.182,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22025,
    "c": 0.09657,
    "h": 286.3
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#1A0D44
secondary
#6C7F2D
accent
#EB3DC2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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