#1B0C56#1B0C56

#1B0C56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.1% C 0.122 H 281.4°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#1B0C56
RGBrgb(27, 12, 86)
HSLhsl(252, 76%, 19%)
HSVhsv(252, 86%, 34%)
CMYKcmyk(68.6%, 86%, 0%, 66.3%)
CIE-LABlab(10.32, 30.40, -41.45)
CIE-LCHlch(10.32, 51.40, 306.26°)
OKLaboklab(24.05% 0.0241 -0.1196)
OKLCHoklch(24.05% 0.122 281.4)
XYZxyz(2.2627, 1.1677, 8.9084)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0C56 #47560C
analogous
#0C2256 #1B0C56 #400C56
triadic
#1B0C56 #561B0C #0C561B
tetradic
#1B0C56 #560C22 #47560C #0C5640
square
#1B0C56 #560C22 #47560C #0C5640
split-complementary
#1B0C56 #56400C #22560C
monochromatic
#08041B #0A0520 #1B0C56 #2C138C #3D1BC1

Accessibility & contrast

On white

17.02
#1B0C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0C56
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0C56#FFFFFF#000000##FFFFFF
##1B0C561.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b0c56;
/* rgb */ color: rgb(27, 12, 86);
/* oklch */ color: oklch(24.1% 0.122 281.4);
Tailwind
colors: {
  custom: {
    50: '#614d87',
    500: '#1b0c56',
    950: '#000000',
  },
}
SCSS
$custom: #1b0c56;
$custom-light: #614d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0c56",
  "rgb": {
    "r": 27,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 252.162,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24053,
    "c": 0.12201,
    "h": 281.4
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#1B0C56
secondary
#7D912D
accent
#F236CC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1B0C56

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

Preview Lab → · Contrast checker → · Palette generator →

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