#1B0B56#1B0B56

#1B0B56 is a very dark, vivid violet. Relative luminance 0.011; OKLCH L 23.9% C 0.123 H 281.6°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#1B0B56
RGBrgb(27, 11, 86)
HSLhsl(253, 77%, 19%)
HSVhsv(253, 87%, 34%)
CMYKcmyk(68.6%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.14, 30.92, -41.75)
CIE-LCHlch(10.14, 51.95, 306.53°)
OKLaboklab(23.93% 0.0247 -0.1204)
OKLCHoklch(23.93% 0.123 281.6)
XYZxyz(2.2509, 1.1441, 8.9045)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0B56 #46560B
analogous
#0B2156 #1B0B56 #410B56
triadic
#1B0B56 #561B0B #0B561B
tetradic
#1B0B56 #560B21 #46560B #0B5641
square
#1B0B56 #560B21 #46560B #0B5641
split-complementary
#1B0B56 #56410B #21560B
monochromatic
#09031B #0A0420 #1B0B56 #2C128C #3D19C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B0B56#FFFFFF#000000##FFFFFF
##1B0B561.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)
#001E58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b0b56;
/* rgb */ color: rgb(27, 11, 86);
/* oklch */ color: oklch(23.9% 0.123 281.6);
Tailwind
colors: {
  custom: {
    50: '#614d87',
    500: '#1b0b56',
    950: '#000000',
  },
}
SCSS
$custom: #1b0b56;
$custom-light: #614d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0b56",
  "rgb": {
    "r": 27,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 252.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23929,
    "c": 0.12295,
    "h": 281.6
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#1B0B56
secondary
#7C912B
accent
#F434CB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1B0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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