#1B0E50#1B0E50

#1B0E50 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.112 H 282.7°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1B0E50
RGBrgb(27, 14, 80)
HSLhsl(252, 70%, 18%)
HSVhsv(252, 83%, 31%)
CMYKcmyk(66.3%, 82.5%, 0%, 68.6%)
CIE-LABlab(10.00, 27.25, -37.87)
CIE-LCHlch(10.00, 46.66, 305.74°)
OKLaboklab(23.62% 0.0246 -0.1092)
OKLCHoklch(23.62% 0.112 282.7)
XYZxyz(2.0565, 1.1261, 7.6969)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E50 #43500E
analogous
#0E2250 #1B0E50 #3C0E50
triadic
#1B0E50 #501B0E #0E501B
tetradic
#1B0E50 #500E22 #43500E #0E503C
square
#1B0E50 #500E22 #43500E #0E503C
split-complementary
#1B0E50 #503C0E #22500E
monochromatic
#09051A #09051C #1B0E50 #2D1784 #3E20B8

Accessibility & contrast

On white

17.14
#1B0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E50
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E50#FFFFFF#000000##FFFFFF
##1B0E501.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1b0e50;
/* rgb */ color: rgb(27, 14, 80);
/* oklch */ color: oklch(23.6% 0.112 282.7);
Tailwind
colors: {
  custom: {
    50: '#604e82',
    500: '#1b0e50',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e50;
$custom-light: #604e82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e50",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 251.818,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23622,
    "c": 0.11191,
    "h": 282.7
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#1B0E50
secondary
#798B2F
accent
#ED3BCA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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