#1B0D53#1B0D53

#1B0D53 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.117 H 282.0°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#1B0D53
RGBrgb(27, 13, 83)
HSLhsl(252, 73%, 19%)
HSVhsv(252, 84%, 33%)
CMYKcmyk(67.5%, 84.3%, 0%, 67.5%)
CIE-LABlab(10.15, 28.85, -39.68)
CIE-LCHlch(10.15, 49.07, 306.02°)
OKLaboklab(23.83% 0.0244 -0.1145)
OKLCHoklch(23.83% 0.117 282)
XYZxyz(2.1568, 1.1452, 8.2893)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D53 #45530D
analogous
#0D2253 #1B0D53 #3E0D53
triadic
#1B0D53 #531B0D #0D531B
tetradic
#1B0D53 #530D22 #45530D #0D533E
square
#1B0D53 #530D22 #45530D #0D533E
split-complementary
#1B0D53 #533E0D #22530D
monochromatic
#09041A #0A051E #1B0D53 #2C1588 #3D1EBD

Accessibility & contrast

On white

17.09
#1B0D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1B0D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0D53
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D53#FFFFFF#000000##FFFFFF
##1B0D531.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b0d53;
/* rgb */ color: rgb(27, 13, 83);
/* oklch */ color: oklch(23.8% 0.117 282.0);
Tailwind
colors: {
  custom: {
    50: '#604e84',
    500: '#1b0d53',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d53;
$custom-light: #604e84;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d53",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 252,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23828,
    "c": 0.11704,
    "h": 282
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#1B0D53
secondary
#7B8E2E
accent
#F038CB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1B0D53

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

Preview Lab → · Contrast checker → · Palette generator →

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