#1B0E54#1B0E54

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

Color values

HEX#1B0E54
RGBrgb(27, 14, 84)
HSLhsl(251, 71%, 19%)
HSVhsv(251, 83%, 33%)
CMYKcmyk(67.9%, 83.3%, 0%, 67.1%)
CIE-LABlab(10.46, 28.63, -39.85)
CIE-LCHlch(10.46, 49.07, 305.69°)
OKLaboklab(24.08% 0.0234 -0.115)
OKLCHoklch(24.08% 0.117 281.5)
XYZxyz(2.2088, 1.1870, 8.4985)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E54 #47540E
analogous
#0E2454 #1B0E54 #3E0E54
triadic
#1B0E54 #541B0E #0E541B
tetradic
#1B0E54 #540E24 #47540E #0E543E
square
#1B0E54 #540E24 #47540E #0E543E
split-complementary
#1B0E54 #543E0E #24540E
monochromatic
#08041A #0A0520 #1B0E54 #2C1788 #3D1FBD

Accessibility & contrast

On white

16.97
#1B0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E54
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E54#FFFFFF#000000##FFFFFF
##1B0E541.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b0e54;
/* rgb */ color: rgb(27, 14, 84);
/* oklch */ color: oklch(24.1% 0.117 281.5);
Tailwind
colors: {
  custom: {
    50: '#614e85',
    500: '#1b0e54',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e54;
$custom-light: #614e85;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e54",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 251.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24083,
    "c": 0.11731,
    "h": 281.5
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#1B0E54
secondary
#7D8E2F
accent
#EE3ACD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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