#1B032B#1B032B

#1B032B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.080 H 308.3°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#1B032B
RGBrgb(27, 3, 43)
HSLhsl(276, 87%, 9%)
HSVhsv(276, 93%, 17%)
CMYKcmyk(37.2%, 93%, 0%, 83.1%)
CIE-LABlab(4.27, 19.21, -20.56)
CIE-LCHlch(4.27, 28.14, 313.06°)
OKLaboklab(17.81% 0.0493 -0.0624)
OKLCHoklch(17.81% 0.08 308.3)
XYZxyz(0.9205, 0.4726, 2.3278)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B032B #132B03
analogous
#07032B #1B032B #2B0327
triadic
#1B032B #2B1B03 #032B1B
tetradic
#1B032B #2B0703 #132B03 #03272B
square
#1B032B #2B0703 #132B03 #03272B
split-complementary
#1B032B #272B03 #032B07
monochromatic
#12021D #12021D #1B032B #3F0764 #630B9D

Accessibility & contrast

On white

19.19
#1B032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1B032B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B032B
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B032B#FFFFFF#000000##FFFFFF
##1B032B1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#180C16
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1b032b;
/* rgb */ color: rgb(27, 3, 43);
/* oklch */ color: oklch(17.8% 0.080 308.3);
Tailwind
colors: {
  custom: {
    50: '#584764',
    500: '#1b032b',
    950: '#000000',
  },
}
SCSS
$custom: #1b032b;
$custom-light: #584764;
$custom-dark: #000000;
JSON
{
  "hex": "#1b032b",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 276,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17813,
    "c": 0.0795,
    "h": 308.3
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#1B032B
secondary
#3D6F1B
accent
#FD2B7F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1B032B

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

Preview Lab → · Contrast checker → · Palette generator →

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