#1A0D4B#1A0D4B

#1A0D4B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.106 H 283.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#1A0D4B
RGBrgb(26, 13, 75)
HSLhsl(253, 70%, 17%)
HSVhsv(253, 83%, 29%)
CMYKcmyk(65.3%, 82.7%, 0%, 70.6%)
CIE-LABlab(9.12, 25.97, -35.86)
CIE-LCHlch(9.12, 44.28, 305.91°)
OKLaboklab(22.8% 0.0252 -0.1033)
OKLCHoklch(22.8% 0.106 283.7)
XYZxyz(1.8395, 1.0153, 6.7543)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D4B #3E4B0D
analogous
#0D1F4B #1A0D4B #390D4B
triadic
#1A0D4B #4B1A0D #0D4B1A
tetradic
#1A0D4B #4B0D1F #3E4B0D #0D4B39
square
#1A0D4B #4B0D1F #3E4B0D #0D4B39
split-complementary
#1A0D4B #4B390D #1F4B0D
monochromatic
#09051A #09051A #1A0D4B #2C167F #3E1FB3

Accessibility & contrast

On white

17.46
#1A0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1A0D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D4B
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D4B#FFFFFF#000000##FFFFFF
##1A0D4B1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0d4b;
/* rgb */ color: rgb(26, 13, 75);
/* oklch */ color: oklch(22.8% 0.106 283.7);
Tailwind
colors: {
  custom: {
    50: '#5e4d7e',
    500: '#1a0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d4b;
$custom-light: #5e4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d4b",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 252.581,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22804,
    "c": 0.10637,
    "h": 283.7
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#1A0D4B
secondary
#74862E
accent
#ED3BC8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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