#1B0D59#1B0D59

#1B0D59 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.5% C 0.125 H 280.3°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#1B0D59
RGBrgb(27, 13, 89)
HSLhsl(251, 75%, 20%)
HSVhsv(251, 85%, 35%)
CMYKcmyk(69.7%, 85.4%, 0%, 65.1%)
CIE-LABlab(10.86, 30.87, -42.58)
CIE-LCHlch(10.86, 52.60, 305.94°)
OKLaboklab(24.54% 0.0224 -0.1229)
OKLCHoklch(24.54% 0.125 280.3)
XYZxyz(2.3985, 1.2419, 9.5626)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D59 #4B590D
analogous
#0D2559 #1B0D59 #410D59
triadic
#1B0D59 #591B0D #0D591B
tetradic
#1B0D59 #590D25 #4B590D #0D5941
square
#1B0D59 #590D25 #4B590D #0D5941
split-complementary
#1B0D59 #59410D #25590D
monochromatic
#08041B #0B0524 #1B0D59 #2B158E #3B1DC4

Accessibility & contrast

On white

16.82
#1B0D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D59
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D59#FFFFFF#000000##FFFFFF
##1B0D591.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0d59;
/* rgb */ color: rgb(27, 13, 89);
/* oklch */ color: oklch(24.5% 0.125 280.3);
Tailwind
colors: {
  custom: {
    50: '#624e89',
    500: '#1b0d59',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d59;
$custom-light: #624e89;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d59",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 251.053,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.2454,
    "c": 0.12495,
    "h": 280.3
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#1B0D59
secondary
#81932E
accent
#F137CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0D59

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

Preview Lab → · Contrast checker → · Palette generator →

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