#1B0E58#1B0E58

#1B0E58 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.6% C 0.123 H 280.4°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#1B0E58
RGBrgb(27, 14, 88)
HSLhsl(251, 73%, 20%)
HSVhsv(251, 84%, 35%)
CMYKcmyk(69.3%, 84.1%, 0%, 65.5%)
CIE-LABlab(10.93, 29.99, -41.79)
CIE-LCHlch(10.93, 51.44, 305.66°)
OKLaboklab(24.55% 0.0221 -0.1206)
OKLCHoklch(24.55% 0.123 280.4)
XYZxyz(2.3699, 1.2515, 9.3473)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E58 #4B580E
analogous
#0E2658 #1B0E58 #400E58
triadic
#1B0E58 #581B0E #0E581B
tetradic
#1B0E58 #580E26 #4B580E #0E5840
square
#1B0E58 #580E26 #4B580E #0E5840
split-complementary
#1B0E58 #58400E #26580E
monochromatic
#08041A #0B0623 #1B0E58 #2B168D #3B1FC2

Accessibility & contrast

On white

16.79
#1B0E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B0E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E58
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E58#FFFFFF#000000##FFFFFF
##1B0E581.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b0e58;
/* rgb */ color: rgb(27, 14, 88);
/* oklch */ color: oklch(24.6% 0.123 280.4);
Tailwind
colors: {
  custom: {
    50: '#624f88',
    500: '#1b0e58',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e58;
$custom-light: #624f88;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e58",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 250.541,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.24552,
    "c": 0.12264,
    "h": 280.4
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#1B0E58
secondary
#819230
accent
#EF39CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0E58

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

Preview Lab → · Contrast checker → · Palette generator →

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