#1A0431#1A0431

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

Color values

HEX#1A0431
RGBrgb(26, 4, 49)
HSLhsl(269, 85%, 10%)
HSVhsv(269, 92%, 19%)
CMYKcmyk(46.9%, 91.8%, 0%, 80.8%)
CIE-LABlab(4.77, 20.89, -24.28)
CIE-LCHlch(4.77, 32.03, 310.71°)
OKLaboklab(18.48% 0.0436 -0.0722)
OKLCHoklch(18.48% 0.084 301.1)
XYZxyz(1.0237, 0.5282, 2.9532)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0431 #1B3104
analogous
#040531 #1A0431 #300431
triadic
#1A0431 #311A04 #04311A
tetradic
#1A0431 #310405 #1B3104 #043130
square
#1A0431 #310405 #1B3104 #043130
split-complementary
#1A0431 #313004 #053104
monochromatic
#0F021C #0F021C #1A0431 #38096A #560DA2

Accessibility & contrast

On white

18.99
#1A0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0431
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0431#FFFFFF#000000##FFFFFF
##1A04311.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#150F1A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a0431;
/* rgb */ color: rgb(26, 4, 49);
/* oklch */ color: oklch(18.5% 0.084 301.1);
Tailwind
colors: {
  custom: {
    50: '#594769',
    500: '#1a0431',
    950: '#000000',
  },
}
SCSS
$custom: #1a0431;
$custom-light: #594769;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0431",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 269.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18482,
    "c": 0.08433,
    "h": 301.1
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#1A0431
secondary
#49731D
accent
#FB2D96
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0431

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

Preview Lab → · Contrast checker → · Palette generator →

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