#1A0439#1A0439

#1A0439 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.094 H 295.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1A0439
RGBrgb(26, 4, 57)
HSLhsl(265, 87%, 12%)
HSVhsv(265, 93%, 22%)
CMYKcmyk(54.4%, 93%, 0%, 77.6%)
CIE-LABlab(5.44, 24.28, -29.10)
CIE-LCHlch(5.44, 37.89, 309.84°)
OKLaboklab(19.38% 0.0404 -0.0851)
OKLCHoklch(19.38% 0.094 295.4)
XYZxyz(1.2077, 0.6018, 3.9226)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0439 #233904
analogous
#040839 #1A0439 #350439
triadic
#1A0439 #391A04 #04391A
tetradic
#1A0439 #390408 #233904 #043935
square
#1A0439 #390408 #233904 #043935
split-complementary
#1A0439 #393504 #083904
monochromatic
#0D021D #0D021D #1A0439 #340872 #4E0CAB

Accessibility & contrast

On white

18.74
#1A0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0439
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0439#FFFFFF#000000##FFFFFF
##1A04391.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#11131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0439;
/* rgb */ color: rgb(26, 4, 57);
/* oklch */ color: oklch(19.4% 0.094 295.4);
Tailwind
colors: {
  custom: {
    50: '#5a4770',
    500: '#1a0439',
    950: '#000000',
  },
}
SCSS
$custom: #1a0439;
$custom-light: #5a4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0439",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 264.906,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19378,
    "c": 0.09423,
    "h": 295.4
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#1A0439
secondary
#547B1E
accent
#FD2BA6
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0439

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

Preview Lab → · Contrast checker → · Palette generator →

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