#1B0532#1B0532

#1B0532 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.084 H 301.2°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#1B0532
RGBrgb(27, 5, 50)
HSLhsl(269, 82%, 11%)
HSVhsv(269, 90%, 20%)
CMYKcmyk(46%, 90%, 0%, 80.4%)
CIE-LABlab(5.17, 21.24, -24.38)
CIE-LCHlch(5.17, 32.34, 311.06°)
OKLaboklab(18.93% 0.0435 -0.0717)
OKLCHoklch(18.93% 0.084 301.2)
XYZxyz(1.0818, 0.5718, 3.0704)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0532 #1C3205
analogous
#050632 #1B0532 #310532
triadic
#1B0532 #321B05 #05321B
tetradic
#1B0532 #320506 #1C3205 #053231
square
#1B0532 #320506 #1C3205 #053231
split-complementary
#1B0532 #323105 #063205
monochromatic
#0F031C #0F031C #1B0532 #390B6A #5710A1

Accessibility & contrast

On white

18.84
#1B0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1B0532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0532
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0532#FFFFFF#000000##FFFFFF
##1B05321.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#16101B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1b0532;
/* rgb */ color: rgb(27, 5, 50);
/* oklch */ color: oklch(18.9% 0.084 301.2);
Tailwind
colors: {
  custom: {
    50: '#5a486a',
    500: '#1b0532',
    950: '#000000',
  },
}
SCSS
$custom: #1b0532;
$custom-light: #5a486a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0532",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 269.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18929,
    "c": 0.08387,
    "h": 301.2
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#1B0532
secondary
#4A731F
accent
#F83096
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0532

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

Preview Lab → · Contrast checker → · Palette generator →

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