#1A0B56#1A0B56

#1A0B56 is a very dark, vivid violet. Relative luminance 0.011; OKLCH L 23.8% C 0.123 H 280.7°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#1A0B56
RGBrgb(26, 11, 86)
HSLhsl(252, 77%, 19%)
HSVhsv(252, 87%, 34%)
CMYKcmyk(69.8%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.04, 30.81, -41.92)
CIE-LCHlch(10.04, 52.02, 306.31°)
OKLaboklab(23.83% 0.023 -0.121)
OKLCHoklch(23.83% 0.123 280.7)
XYZxyz(2.2249, 1.1307, 8.9033)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B56 #47560B
analogous
#0B2256 #1A0B56 #400B56
triadic
#1A0B56 #561A0B #0B561A
tetradic
#1A0B56 #560B22 #47560B #0B5640
square
#1A0B56 #560B22 #47560B #0B5640
split-complementary
#1A0B56 #56400B #22560B
monochromatic
#08031B #0A0420 #1A0B56 #2A128C #3B19C3

Accessibility & contrast

On white

17.13
#1A0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0B56
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B56#FFFFFF#000000##FFFFFF
##1A0B561.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0b56;
/* rgb */ color: rgb(26, 11, 86);
/* oklch */ color: oklch(23.8% 0.123 280.7);
Tailwind
colors: {
  custom: {
    50: '#614d87',
    500: '#1a0b56',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b56;
$custom-light: #614d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b56",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 252,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23833,
    "c": 0.12315,
    "h": 280.7
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#1A0B56
secondary
#7D912B
accent
#F434CD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1A0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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