#1A0136#1A0136

#1A0136 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.096 H 298.7°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#1A0136
RGBrgb(26, 1, 54)
HSLhsl(268, 96%, 11%)
HSVhsv(268, 98%, 21%)
CMYKcmyk(51.9%, 98.1%, 0%, 78.8%)
CIE-LABlab(4.59, 24.45, -28.28)
CIE-LCHlch(4.59, 37.38, 310.85°)
OKLaboklab(18.48% 0.0462 -0.0842)
OKLCHoklch(18.48% 0.096 298.7)
XYZxyz(1.1025, 0.5076, 3.5292)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0136 #1D3601
analogous
#010236 #1A0136 #340136
triadic
#1A0136 #361A01 #01361A
tetradic
#1A0136 #360102 #1D3601 #013634
square
#1A0136 #360102 #1D3601 #013634
split-complementary
#1A0136 #363401 #023601
monochromatic
#0E011E #0E011E #1A0136 #370272 #5403AE

Accessibility & contrast

On white

19.06
#1A0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1A0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0136
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0136#FFFFFF#000000##FFFFFF
##1A01361.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#130F1C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a0136;
/* rgb */ color: rgb(26, 1, 54);
/* oklch */ color: oklch(18.5% 0.096 298.7);
Tailwind
colors: {
  custom: {
    50: '#5a466d',
    500: '#1a0136',
    950: '#000000',
  },
}
SCSS
$custom: #1a0136;
$custom-light: #5a466d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0136",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 268.302,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18475,
    "c": 0.09606,
    "h": 298.7
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#1A0136
secondary
#4C7B18
accent
#FF299A
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0136

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

Preview Lab → · Contrast checker → · Palette generator →

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