#1A0D43#1A0D43

#1A0D43 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.095 H 286.7°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#1A0D43
RGBrgb(26, 13, 67)
HSLhsl(254, 68%, 16%)
HSVhsv(254, 81%, 26%)
CMYKcmyk(61.2%, 80.6%, 0%, 73.7%)
CIE-LABlab(8.24, 23.19, -31.69)
CIE-LCHlch(8.24, 39.27, 306.20°)
OKLaboklab(21.92% 0.0273 -0.0911)
OKLCHoklch(21.92% 0.095 286.7)
XYZxyz(1.5827, 0.9126, 5.4019)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D43 #36430D
analogous
#0D1B43 #1A0D43 #350D43
triadic
#1A0D43 #431A0D #0D431A
tetradic
#1A0D43 #430D1B #36430D #0D4335
square
#1A0D43 #430D1B #36430D #0D4335
split-complementary
#1A0D43 #43350D #1B430D
monochromatic
#0A051A #0A051A #1A0D43 #2E1776 #4221AA

Accessibility & contrast

On white

17.76
#1A0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A0D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D43
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D43#FFFFFF#000000##FFFFFF
##1A0D431.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#091B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0d43;
/* rgb */ color: rgb(26, 13, 67);
/* oklch */ color: oklch(21.9% 0.095 286.7);
Tailwind
colors: {
  custom: {
    50: '#5c4d78',
    500: '#1a0d43',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d43;
$custom-light: #5c4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d43",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 254.444,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21917,
    "c": 0.09515,
    "h": 286.7
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#1A0D43
secondary
#6B7E2D
accent
#EA3DC1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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