#1A0131#1A0131

#1A0131 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.091 H 302.6°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#1A0131
RGBrgb(26, 1, 49)
HSLhsl(271, 96%, 10%)
HSVhsv(271, 98%, 19%)
CMYKcmyk(46.9%, 98%, 0%, 80.8%)
CIE-LABlab(4.18, 22.24, -25.22)
CIE-LCHlch(4.18, 33.62, 311.41°)
OKLaboklab(17.89% 0.0488 -0.0763)
OKLCHoklch(17.89% 0.091 302.6)
XYZxyz(0.9911, 0.4631, 2.9423)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0131 #183101
analogous
#020131 #1A0131 #310130
triadic
#1A0131 #311A01 #01311A
tetradic
#1A0131 #310201 #183101 #013031
square
#1A0131 #310201 #183101 #013031
split-complementary
#1A0131 #303101 #013102
monochromatic
#10011E #10011E #1A0131 #3A026D #5A03A9

Accessibility & contrast

On white

19.22
#1A0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0131
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0131#FFFFFF#000000##FFFFFF
##1A01311.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#150D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a0131;
/* rgb */ color: rgb(26, 1, 49);
/* oklch */ color: oklch(17.9% 0.091 302.6);
Tailwind
colors: {
  custom: {
    50: '#594669',
    500: '#1a0131',
    950: '#000000',
  },
}
SCSS
$custom: #1a0131;
$custom-light: #594669;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0131",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 271.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17885,
    "c": 0.09055,
    "h": 302.6
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#1A0131
secondary
#457717
accent
#FF298F
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0131

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

Preview Lab → · Contrast checker → · Palette generator →

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