#1A0D4F#1A0D4F

#1A0D4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.112 H 282.4°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#1A0D4F
RGBrgb(26, 13, 79)
HSLhsl(252, 72%, 18%)
HSVhsv(252, 84%, 31%)
CMYKcmyk(67.1%, 83.5%, 0%, 69%)
CIE-LABlab(9.58, 27.35, -37.88)
CIE-LCHlch(9.58, 46.73, 305.83°)
OKLaboklab(23.26% 0.024 -0.1092)
OKLCHoklch(23.26% 0.112 282.4)
XYZxyz(1.9808, 1.0718, 7.4981)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D4F #424F0D
analogous
#0D214F #1A0D4F #3B0D4F
triadic
#1A0D4F #4F1A0D #0D4F1A
tetradic
#1A0D4F #4F0D21 #424F0D #0D4F3B
square
#1A0D4F #4F0D21 #424F0D #0D4F3B
split-complementary
#1A0D4F #4F3B0D #214F0D
monochromatic
#09041A #09041A #1A0D4F #2B1684 #3D1EB8

Accessibility & contrast

On white

17.29
#1A0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1A0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D4F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D4F#FFFFFF#000000##FFFFFF
##1A0D4F1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0d4f;
/* rgb */ color: rgb(26, 13, 79);
/* oklch */ color: oklch(23.3% 0.112 282.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d81',
    500: '#1a0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d4f;
$custom-light: #5f4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d4f",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 251.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23263,
    "c": 0.11183,
    "h": 282.4
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#1A0D4F
secondary
#788A2E
accent
#EE39CB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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