#1A0D41#1A0D41

#1A0D41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 287.5°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#1A0D41
RGBrgb(26, 13, 65)
HSLhsl(255, 67%, 15%)
HSVhsv(255, 80%, 25%)
CMYKcmyk(60%, 80%, 0%, 74.5%)
CIE-LABlab(8.03, 22.50, -30.62)
CIE-LCHlch(8.03, 38.00, 306.30°)
OKLaboklab(21.7% 0.0278 -0.088)
OKLCHoklch(21.7% 0.092 287.5)
XYZxyz(1.5238, 0.8890, 5.0913)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D41 #34410D
analogous
#0D1A41 #1A0D41 #340D41
triadic
#1A0D41 #411A0D #0D411A
tetradic
#1A0D41 #410D1A #34410D #0D4134
square
#1A0D41 #410D1A #34410D #0D4134
split-complementary
#1A0D41 #41340D #1A410D
monochromatic
#0A051A #0A051A #1A0D41 #2E1774 #4321A7

Accessibility & contrast

On white

17.83
#1A0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D41
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D41#FFFFFF#000000##FFFFFF
##1A0D411.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#0B1B25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0d41;
/* rgb */ color: rgb(26, 13, 65);
/* oklch */ color: oklch(21.7% 0.092 287.5);
Tailwind
colors: {
  custom: {
    50: '#5c4d76',
    500: '#1a0d41',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d41;
$custom-light: #5c4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d41",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21702,
    "c": 0.09229,
    "h": 287.5
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#1A0D41
secondary
#697D2D
accent
#EA3EBF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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