#1B0E52#1B0E52

#1B0E52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.115 H 282.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#1B0E52
RGBrgb(27, 14, 82)
HSLhsl(251, 71%, 19%)
HSVhsv(251, 83%, 32%)
CMYKcmyk(67.1%, 82.9%, 0%, 67.8%)
CIE-LABlab(10.23, 27.94, -38.86)
CIE-LCHlch(10.23, 47.87, 305.72°)
OKLaboklab(23.85% 0.024 -0.1121)
OKLCHoklch(23.85% 0.115 282.1)
XYZxyz(2.1315, 1.1561, 8.0918)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E52 #45520E
analogous
#0E2352 #1B0E52 #3D0E52
triadic
#1B0E52 #521B0E #0E521B
tetradic
#1B0E52 #520E23 #45520E #0E523D
square
#1B0E52 #520E23 #45520E #0E523D
split-complementary
#1B0E52 #523D0E #23520E
monochromatic
#09041A #0A051E #1B0E52 #2C1786 #3D20BB

Accessibility & contrast

On white

17.06
#1B0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E52
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E52#FFFFFF#000000##FFFFFF
##1B0E521.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b0e52;
/* rgb */ color: rgb(27, 14, 82);
/* oklch */ color: oklch(23.9% 0.115 282.1);
Tailwind
colors: {
  custom: {
    50: '#604e83',
    500: '#1b0e52',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e52;
$custom-light: #604e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e52",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 251.471,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23851,
    "c": 0.11463,
    "h": 282.1
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#1B0E52
secondary
#7B8C2F
accent
#EE3ACB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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