#1B031E#1B031E

#1B031E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.6% C 0.065 H 323.5°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#1B031E
RGBrgb(27, 3, 30)
HSLhsl(293, 82%, 6%)
HSVhsv(293, 90%, 12%)
CMYKcmyk(10%, 90%, 0%, 88.2%)
CIE-LABlab(3.54, 14.19, -11.62)
CIE-LCHlch(3.54, 18.34, 320.69°)
OKLaboklab(16.61% 0.0519 -0.0384)
OKLCHoklch(16.61% 0.065 323.5)
XYZxyz(0.7189, 0.3919, 1.2658)
Luminance0.0039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B031E #061E03
analogous
#0E031E #1B031E #1E0314
triadic
#1B031E #1E1B03 #031E1B
tetradic
#1B031E #1E0E03 #061E03 #03141E
square
#1B031E #1E0E03 #061E03 #03141E
split-complementary
#1B031E #141E03 #031E0E
monochromatic
#19031C #19031C #1B031E #4D0956 #7F0E8D

Accessibility & contrast

On white

19.47
#1B031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1B031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B031E
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B031E#FFFFFF#000000##FFFFFF
##1B031E1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B1F
Deuteranopia (green-blind)
#060E1D
Tritanopia (blue-blind)
#1C060F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1b031e;
/* rgb */ color: rgb(27, 3, 30);
/* oklch */ color: oklch(16.6% 0.065 323.5);
Tailwind
colors: {
  custom: {
    50: '#564859',
    500: '#1b031e',
    950: '#000000',
  },
}
SCSS
$custom: #1b031e;
$custom-light: #564859;
$custom-dark: #000000;
JSON
{
  "hex": "#1b031e",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 293.333,
    "s": 81.818,
    "l": 6.471
  },
  "oklch": {
    "l": 0.1661,
    "c": 0.06455,
    "h": 323.5
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#1B031E
secondary
#23621B
accent
#F83046
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1B031E

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

Preview Lab → · Contrast checker → · Palette generator →

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