#1B0547#1B0547

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

Color values

HEX#1B0547
RGBrgb(27, 5, 71)
HSLhsl(260, 87%, 15%)
HSVhsv(260, 93%, 28%)
CMYKcmyk(62%, 93%, 0%, 72.2%)
CIE-LABlab(7.19, 29.32, -36.23)
CIE-LCHlch(7.19, 46.61, 308.98°)
OKLaboklab(21.33% 0.035 -0.1044)
OKLCHoklch(21.33% 0.11 288.5)
XYZxyz(1.6433, 0.7964, 6.0271)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0547 #314705
analogous
#051047 #1B0547 #3C0547
triadic
#1B0547 #471B05 #05471B
tetradic
#1B0547 #470510 #314705 #05473C
square
#1B0547 #470510 #314705 #05473C
split-complementary
#1B0547 #473C05 #104705
monochromatic
#0B021D #0B021D #1B0547 #310980 #460DB9

Accessibility & contrast

On white

18.12
#1B0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0547
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0547#FFFFFF#000000##FFFFFF
##1B05471.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0547;
/* rgb */ color: rgb(27, 5, 71);
/* oklch */ color: oklch(21.3% 0.110 288.5);
Tailwind
colors: {
  custom: {
    50: '#5e487b',
    500: '#1b0547',
    950: '#000000',
  },
}
SCSS
$custom: #1b0547;
$custom-light: #5e487b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0547",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 260,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21334,
    "c": 0.11012,
    "h": 288.5
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#1B0547
secondary
#658721
accent
#FD2BB7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0547

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

Preview Lab → · Contrast checker → · Palette generator →

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