#1A0B4E#1A0B4E

#1A0B4E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.113 H 283.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#1A0B4E
RGBrgb(26, 11, 78)
HSLhsl(253, 75%, 17%)
HSVhsv(253, 86%, 31%)
CMYKcmyk(66.7%, 85.9%, 0%, 69.4%)
CIE-LABlab(9.07, 28.14, -38.03)
CIE-LCHlch(9.07, 47.31, 306.50°)
OKLaboklab(22.87% 0.0257 -0.1097)
OKLCHoklch(22.87% 0.113 283.2)
XYZxyz(1.9204, 1.0089, 7.2998)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B4E #3F4E0B
analogous
#0B1D4E #1A0B4E #3C0B4E
triadic
#1A0B4E #4E1A0B #0B4E1A
tetradic
#1A0B4E #4E0B1D #3F4E0B #0B4E3C
square
#1A0B4E #4E0B1D #3F4E0B #0B4E3C
split-complementary
#1A0B4E #4E3C0B #1D4E0B
monochromatic
#09041B #09041B #1A0B4E #2C1384 #3E1AB9

Accessibility & contrast

On white

17.47
#1A0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0B4E
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B4E#FFFFFF#000000##FFFFFF
##1A0B4E1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0b4e;
/* rgb */ color: rgb(26, 11, 78);
/* oklch */ color: oklch(22.9% 0.113 283.2);
Tailwind
colors: {
  custom: {
    50: '#5f4c80',
    500: '#1a0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b4e;
$custom-light: #5f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b4e",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 253.433,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22871,
    "c": 0.11264,
    "h": 283.2
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#1A0B4E
secondary
#758A2B
accent
#F236C8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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