#1A0D55#1A0D55

#1A0D55 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.120 H 280.6°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#1A0D55
RGBrgb(26, 13, 85)
HSLhsl(251, 73%, 19%)
HSVhsv(251, 85%, 33%)
CMYKcmyk(69.4%, 84.7%, 0%, 66.7%)
CIE-LABlab(10.28, 29.40, -40.83)
CIE-LCHlch(10.28, 50.31, 305.76°)
OKLaboklab(23.97% 0.0221 -0.1178)
OKLCHoklch(23.97% 0.12 280.6)
XYZxyz(2.2091, 1.1632, 8.7007)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D55 #48550D
analogous
#0D2455 #1A0D55 #3E0D55
triadic
#1A0D55 #551A0D #0D551A
tetradic
#1A0D55 #550D24 #48550D #0D553E
square
#1A0D55 #550D24 #48550D #0D553E
split-complementary
#1A0D55 #553E0D #24550D
monochromatic
#08041B #0A0520 #1A0D55 #2A158A #3A1DBF

Accessibility & contrast

On white

17.04
#1A0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A0D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D55
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D55#FFFFFF#000000##FFFFFF
##1A0D551.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0d55;
/* rgb */ color: rgb(26, 13, 85);
/* oklch */ color: oklch(24.0% 0.120 280.6);
Tailwind
colors: {
  custom: {
    50: '#604e86',
    500: '#1a0d55',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d55;
$custom-light: #604e86;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d55",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 250.833,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23969,
    "c": 0.11989,
    "h": 280.6
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#1A0D55
secondary
#7E902E
accent
#F038CF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1A0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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