#1B0437#1B0437

#1B0437 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.092 H 298.0°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#1B0437
RGBrgb(27, 4, 55)
HSLhsl(267, 86%, 12%)
HSVhsv(267, 93%, 22%)
CMYKcmyk(50.9%, 92.7%, 0%, 78.4%)
CIE-LABlab(5.38, 23.77, -27.72)
CIE-LCHlch(5.38, 36.52, 310.62°)
OKLaboklab(19.29% 0.0431 -0.0811)
OKLCHoklch(19.29% 0.092 298)
XYZxyz(1.1848, 0.5957, 3.6662)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0437 #203704
analogous
#040637 #1B0437 #350437
triadic
#1B0437 #371B04 #04371B
tetradic
#1B0437 #370406 #203704 #043735
square
#1B0437 #370406 #203704 #043735
split-complementary
#1B0437 #373504 #063704
monochromatic
#0E021D #0E021D #1B0437 #370870 #530CA9

Accessibility & contrast

On white

18.76
#1B0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0437
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0437#FFFFFF#000000##FFFFFF
##1B04371.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#14121D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0437;
/* rgb */ color: rgb(27, 4, 55);
/* oklch */ color: oklch(19.3% 0.092 298.0);
Tailwind
colors: {
  custom: {
    50: '#5b476e',
    500: '#1b0437',
    950: '#000000',
  },
}
SCSS
$custom: #1b0437;
$custom-light: #5b476e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0437",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 267.059,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19293,
    "c": 0.09189,
    "h": 298
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#1B0437
secondary
#50791E
accent
#FD2B9E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0437

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

Preview Lab → · Contrast checker → · Palette generator →

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