#1B053F#1B053F

#1B053F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.100 H 292.6°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1B053F
RGBrgb(27, 5, 63)
HSLhsl(263, 85%, 13%)
HSVhsv(263, 92%, 25%)
CMYKcmyk(57.1%, 92.1%, 0%, 75.3%)
CIE-LABlab(6.33, 26.42, -31.98)
CIE-LCHlch(6.33, 41.48, 309.57°)
OKLaboklab(20.38% 0.0385 -0.0925)
OKLCHoklch(20.38% 0.1 292.6)
XYZxyz(1.4032, 0.7004, 4.7629)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B053F #293F05
analogous
#050C3F #1B053F #38053F
triadic
#1B053F #3F1B05 #053F1B
tetradic
#1B053F #3F050C #293F05 #053F38
square
#1B053F #3F050C #293F05 #053F38
split-complementary
#1B053F #3F3805 #0C3F05
monochromatic
#0C021C #0C021C #1B053F #330978 #4C0EB0

Accessibility & contrast

On white

18.42
#1B053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B053F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B053F#FFFFFF#000000##FFFFFF
##1B053F1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#0F1622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b053f;
/* rgb */ color: rgb(27, 5, 63);
/* oklch */ color: oklch(20.4% 0.100 292.6);
Tailwind
colors: {
  custom: {
    50: '#5d4875',
    500: '#1b053f',
    950: '#000000',
  },
}
SCSS
$custom: #1b053f;
$custom-light: #5d4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1b053f",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 262.759,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20378,
    "c": 0.1002,
    "h": 292.6
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#1B053F
secondary
#5B8020
accent
#FC2CAD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1B053F

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

Preview Lab → · Contrast checker → · Palette generator →

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