#1A0D45#1A0D45

#1A0D45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.098 H 285.9°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#1A0D45
RGBrgb(26, 13, 69)
HSLhsl(254, 68%, 16%)
HSVhsv(254, 81%, 27%)
CMYKcmyk(62.3%, 81.2%, 0%, 72.9%)
CIE-LABlab(8.46, 23.89, -32.75)
CIE-LCHlch(8.46, 40.54, 306.11°)
OKLaboklab(22.13% 0.0268 -0.0942)
OKLCHoklch(22.13% 0.098 285.9)
XYZxyz(1.6438, 0.9370, 5.7233)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D45 #38450D
analogous
#0D1C45 #1A0D45 #360D45
triadic
#1A0D45 #451A0D #0D451A
tetradic
#1A0D45 #450D1C #38450D #0D4536
square
#1A0D45 #450D1C #38450D #0D4536
split-complementary
#1A0D45 #45360D #1C450D
monochromatic
#0A051A #0A051A #1A0D45 #2D1778 #4120AC

Accessibility & contrast

On white

17.69
#1A0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D45
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D45#FFFFFF#000000##FFFFFF
##1A0D451.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#071C28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0d45;
/* rgb */ color: rgb(26, 13, 69);
/* oklch */ color: oklch(22.1% 0.098 285.9);
Tailwind
colors: {
  custom: {
    50: '#5d4d79',
    500: '#1a0d45',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d45;
$custom-light: #5d4d79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d45",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 253.929,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22134,
    "c": 0.09799,
    "h": 285.9
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#1A0D45
secondary
#6D802D
accent
#EB3DC3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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