#1B0D58#1B0D58

#1B0D58 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.4% C 0.124 H 280.6°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#1B0D58
RGBrgb(27, 13, 88)
HSLhsl(251, 74%, 20%)
HSVhsv(251, 85%, 35%)
CMYKcmyk(69.3%, 85.2%, 0%, 65.5%)
CIE-LABlab(10.74, 30.53, -42.11)
CIE-LCHlch(10.74, 52.01, 305.95°)
OKLaboklab(24.42% 0.0228 -0.1215)
OKLCHoklch(24.42% 0.124 280.6)
XYZxyz(2.3568, 1.2253, 9.3429)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D58 #4A580D
analogous
#0D2558 #1B0D58 #410D58
triadic
#1B0D58 #581B0D #0D581B
tetradic
#1B0D58 #580D25 #4A580D #0D5841
square
#1B0D58 #580D25 #4A580D #0D5841
split-complementary
#1B0D58 #58410D #25580D
monochromatic
#08041B #0B0523 #1B0D58 #2B158D #3C1DC3

Accessibility & contrast

On white

16.87
#1B0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D58
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D58#FFFFFF#000000##FFFFFF
##1B0D581.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0d58;
/* rgb */ color: rgb(27, 13, 88);
/* oklch */ color: oklch(24.4% 0.124 280.6);
Tailwind
colors: {
  custom: {
    50: '#624e88',
    500: '#1b0d58',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d58;
$custom-light: #624e88;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d58",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 251.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2442,
    "c": 0.12364,
    "h": 280.6
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#1B0D58
secondary
#80932E
accent
#F137CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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