#1A0D4E#1A0D4E

#1A0D4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.110 H 282.7°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#1A0D4E
RGBrgb(26, 13, 78)
HSLhsl(252, 71%, 18%)
HSVhsv(252, 83%, 31%)
CMYKcmyk(66.7%, 83.3%, 0%, 69.4%)
CIE-LABlab(9.46, 27.01, -37.38)
CIE-LCHlch(9.46, 46.12, 305.85°)
OKLaboklab(23.15% 0.0243 -0.1078)
OKLCHoklch(23.15% 0.11 282.7)
XYZxyz(1.9446, 1.0574, 7.3079)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D4E #414E0D
analogous
#0D204E #1A0D4E #3A0D4E
triadic
#1A0D4E #4E1A0D #0D4E1A
tetradic
#1A0D4E #4E0D20 #414E0D #0D4E3A
square
#1A0D4E #4E0D20 #414E0D #0D4E3A
split-complementary
#1A0D4E #4E3A0D #204E0D
monochromatic
#09041A #09041A #1A0D4E #2B1682 #3D1EB7

Accessibility & contrast

On white

17.33
#1A0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D4E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D4E#FFFFFF#000000##FFFFFF
##1A0D4E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0d4e;
/* rgb */ color: rgb(26, 13, 78);
/* oklch */ color: oklch(23.1% 0.110 282.7);
Tailwind
colors: {
  custom: {
    50: '#5f4d80',
    500: '#1a0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d4e;
$custom-light: #5f4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d4e",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23148,
    "c": 0.11048,
    "h": 282.7
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#1A0D4E
secondary
#77892E
accent
#EE3ACA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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