#1B0C55#1B0C55

#1B0C55 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 23.9% C 0.121 H 281.7°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#1B0C55
RGBrgb(27, 12, 85)
HSLhsl(252, 75%, 19%)
HSVhsv(252, 86%, 33%)
CMYKcmyk(68.2%, 85.9%, 0%, 66.7%)
CIE-LABlab(10.20, 30.07, -40.97)
CIE-LCHlch(10.20, 50.82, 306.27°)
OKLaboklab(23.93% 0.0244 -0.1182)
OKLCHoklch(23.93% 0.121 281.7)
XYZxyz(2.2226, 1.1517, 8.6977)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0C55 #46550C
analogous
#0C2255 #1B0C55 #400C55
triadic
#1B0C55 #551B0C #0C551B
tetradic
#1B0C55 #550C22 #46550C #0C5540
square
#1B0C55 #550C22 #46550C #0C5540
split-complementary
#1B0C55 #55400C #22550C
monochromatic
#09041B #0A041F #1B0C55 #2C148B #3D1BC0

Accessibility & contrast

On white

17.07
#1B0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0C55
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0C55#FFFFFF#000000##FFFFFF
##1B0C551.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0c55;
/* rgb */ color: rgb(27, 12, 85);
/* oklch */ color: oklch(23.9% 0.121 281.7);
Tailwind
colors: {
  custom: {
    50: '#614d86',
    500: '#1b0c55',
    950: '#000000',
  },
}
SCSS
$custom: #1b0c55;
$custom-light: #614d86;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0c55",
  "rgb": {
    "r": 27,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 252.329,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23933,
    "c": 0.1207,
    "h": 281.7
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#1B0C55
secondary
#7C902D
accent
#F236CB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1B0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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