#1B1052#1B1052

#1B1052 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.112 H 281.5°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#1B1052
RGBrgb(27, 16, 82)
HSLhsl(250, 67%, 19%)
HSVhsv(250, 80%, 32%)
CMYKcmyk(67.1%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.65, 26.75, -38.17)
CIE-LCHlch(10.65, 46.61, 305.02°)
OKLaboklab(24.15% 0.0225 -0.1101)
OKLCHoklch(24.15% 0.112 281.5)
XYZxyz(2.1598, 1.2126, 8.1013)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1052 #475210
analogous
#102652 #1B1052 #3C1052
triadic
#1B1052 #521B10 #10521B
tetradic
#1B1052 #521026 #475210 #10523C
square
#1B1052 #521026 #475210 #10523C
split-complementary
#1B1052 #523C10 #265210
monochromatic
#08051A #0A061F #1B1052 #2C1A85 #3D24B8

Accessibility & contrast

On white

16.90
#1B1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1B1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1052
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1052#FFFFFF#000000##FFFFFF
##1B10521.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b1052;
/* rgb */ color: rgb(27, 16, 82);
/* oklch */ color: oklch(24.1% 0.112 281.5);
Tailwind
colors: {
  custom: {
    50: '#604f83',
    500: '#1b1052',
    950: '#000000',
  },
}
SCSS
$custom: #1b1052;
$custom-light: #604f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1052",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 250,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24147,
    "c": 0.11235,
    "h": 281.5
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#1B1052
secondary
#7D8C32
accent
#EA3ECD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #1B1052

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

Preview Lab → · Contrast checker → · Palette generator →

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