#1A0547#1A0547

#1A0547 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.110 H 287.5°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#1A0547
RGBrgb(26, 5, 71)
HSLhsl(259, 87%, 15%)
HSVhsv(259, 93%, 28%)
CMYKcmyk(63.4%, 93%, 0%, 72.2%)
CIE-LABlab(7.07, 29.15, -36.44)
CIE-LCHlch(7.07, 46.66, 308.66°)
OKLaboklab(21.22% 0.0331 -0.1051)
OKLCHoklch(21.22% 0.11 287.5)
XYZxyz(1.6173, 0.7830, 6.0259)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0547 #324705
analogous
#051147 #1A0547 #3B0547
triadic
#1A0547 #471A05 #05471A
tetradic
#1A0547 #470511 #324705 #05473B
square
#1A0547 #470511 #324705 #05473B
split-complementary
#1A0547 #473B05 #114705
monochromatic
#0A021D #0A021D #1A0547 #2F0980 #440DB9

Accessibility & contrast

On white

18.16
#1A0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0547
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0547#FFFFFF#000000##FFFFFF
##1A05471.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#051927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0547;
/* rgb */ color: rgb(26, 5, 71);
/* oklch */ color: oklch(21.2% 0.110 287.5);
Tailwind
colors: {
  custom: {
    50: '#5e487b',
    500: '#1a0547',
    950: '#000000',
  },
}
SCSS
$custom: #1a0547;
$custom-light: #5e487b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0547",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 259.091,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21215,
    "c": 0.11019,
    "h": 287.5
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#1A0547
secondary
#668721
accent
#FD2BBA
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0547

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

Preview Lab → · Contrast checker → · Palette generator →

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