#1B053A#1B053A

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

Color values

HEX#1B053A
RGBrgb(27, 5, 58)
HSLhsl(265, 84%, 12%)
HSVhsv(265, 91%, 23%)
CMYKcmyk(53.4%, 91.4%, 0%, 77.3%)
CIE-LABlab(5.84, 24.48, -29.15)
CIE-LCHlch(5.84, 38.07, 310.02°)
OKLaboklab(19.8% 0.0406 -0.0847)
OKLCHoklch(19.8% 0.094 295.6)
XYZxyz(1.2698, 0.6470, 4.0601)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B053A #243A05
analogous
#05093A #1B053A #36053A
triadic
#1B053A #3A1B05 #053A1B
tetradic
#1B053A #3A0509 #243A05 #053A36
square
#1B053A #3A0509 #243A05 #053A36
split-complementary
#1B053A #3A3605 #093A05
monochromatic
#0D021C #0D021C #1B053A #350A72 #4F0FAB

Accessibility & contrast

On white

18.59
#1B053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B053A
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B053A#FFFFFF#000000##FFFFFF
##1B053A1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#12141F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b053a;
/* rgb */ color: rgb(27, 5, 58);
/* oklch */ color: oklch(19.8% 0.094 295.6);
Tailwind
colors: {
  custom: {
    50: '#5b4871',
    500: '#1b053a',
    950: '#000000',
  },
}
SCSS
$custom: #1b053a;
$custom-light: #5b4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1b053a",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 264.906,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19803,
    "c": 0.09395,
    "h": 295.6
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#1B053A
secondary
#557B20
accent
#FA2DA5
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B053A

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

Preview Lab → · Contrast checker → · Palette generator →

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