#1B0E4C#1B0E4C

#1B0E4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.106 H 284.0°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4C
RGBrgb(27, 14, 76)
HSLhsl(253, 69%, 18%)
HSVhsv(253, 82%, 30%)
CMYKcmyk(64.5%, 81.6%, 0%, 70.2%)
CIE-LABlab(9.55, 25.87, -35.84)
CIE-LCHlch(9.55, 44.20, 305.82°)
OKLaboklab(23.17% 0.0257 -0.1033)
OKLCHoklch(23.17% 0.106 284)
XYZxyz(1.9131, 1.0688, 6.9416)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4C #3F4C0E
analogous
#0E204C #1B0E4C #3A0E4C
triadic
#1B0E4C #4C1B0E #0E4C1B
tetradic
#1B0E4C #4C0E20 #3F4C0E #0E4C3A
square
#1B0E4C #4C0E20 #3F4C0E #0E4C3A
split-complementary
#1B0E4C #4C3A0E #204C0E
monochromatic
#09051A #09051A #1B0E4C #2D1880 #4021B3

Accessibility & contrast

On white

17.30
#1B0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1B0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E4C
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4C#FFFFFF#000000##FFFFFF
##1B0E4C1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#021F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1b0e4c;
/* rgb */ color: rgb(27, 14, 76);
/* oklch */ color: oklch(23.2% 0.106 284.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e7f',
    500: '#1b0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4c;
$custom-light: #5f4e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4c",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 252.581,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2317,
    "c": 0.10641,
    "h": 284
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#1B0E4C
secondary
#74872F
accent
#EC3CC7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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