#1B0539#1B0539

#1B0539 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.093 H 296.2°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#1B0539
RGBrgb(27, 5, 57)
HSLhsl(265, 84%, 12%)
HSVhsv(265, 91%, 22%)
CMYKcmyk(52.6%, 91.2%, 0%, 77.6%)
CIE-LABlab(5.75, 24.09, -28.58)
CIE-LCHlch(5.75, 37.37, 310.13°)
OKLaboklab(19.69% 0.041 -0.0831)
OKLCHoklch(19.69% 0.093 296.2)
XYZxyz(1.2446, 0.6369, 3.9275)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0539 #233905
analogous
#050939 #1B0539 #350539
triadic
#1B0539 #391B05 #05391B
tetradic
#1B0539 #390509 #233905 #053935
square
#1B0539 #390509 #233905 #053935
split-complementary
#1B0539 #393505 #093905
monochromatic
#0D021C #0D021C #1B0539 #360A71 #500FAA

Accessibility & contrast

On white

18.63
#1B0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B0539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0539
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0539#FFFFFF#000000##FFFFFF
##1B05391.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#13131F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b0539;
/* rgb */ color: rgb(27, 5, 57);
/* oklch */ color: oklch(19.7% 0.093 296.2);
Tailwind
colors: {
  custom: {
    50: '#5b4870',
    500: '#1b0539',
    950: '#000000',
  },
}
SCSS
$custom: #1b0539;
$custom-light: #5b4870;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0539",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 265.385,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19691,
    "c": 0.09269,
    "h": 296.2
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#1B0539
secondary
#547A20
accent
#FA2EA4
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0539

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

Preview Lab → · Contrast checker → · Palette generator →

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