#1A0132#1A0132

#1A0132 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.092 H 301.8°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#1A0132
RGBrgb(26, 1, 50)
HSLhsl(271, 96%, 10%)
HSVhsv(271, 98%, 20%)
CMYKcmyk(48%, 98%, 0%, 80.4%)
CIE-LABlab(4.26, 22.68, -25.84)
CIE-LCHlch(4.26, 34.39, 311.28°)
OKLaboklab(18% 0.0483 -0.0779)
OKLCHoklch(18% 0.092 301.8)
XYZxyz(1.0124, 0.4716, 3.0547)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0132 #193201
analogous
#010132 #1A0132 #320132
triadic
#1A0132 #321A01 #01321A
tetradic
#1A0132 #320101 #193201 #013232
square
#1A0132 #320101 #193201 #013232
split-complementary
#1A0132 #323201 #013201
monochromatic
#10011E #10011E #1A0132 #39026E #5803AA

Accessibility & contrast

On white

19.19
#1A0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1A0132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0132
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0132#FFFFFF#000000##FFFFFF
##1A01321.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#140D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a0132;
/* rgb */ color: rgb(26, 1, 50);
/* oklch */ color: oklch(18.0% 0.092 301.8);
Tailwind
colors: {
  custom: {
    50: '#59466a',
    500: '#1a0132',
    950: '#000000',
  },
}
SCSS
$custom: #1a0132;
$custom-light: #59466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0132",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 270.612,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.18001,
    "c": 0.09165,
    "h": 301.8
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#1A0132
secondary
#467717
accent
#FF2992
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0132

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

Preview Lab → · Contrast checker → · Palette generator →

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