#1B032E#1B032E

#1B032E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.083 H 305.5°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#1B032E
RGBrgb(27, 3, 46)
HSLhsl(273, 88%, 10%)
HSVhsv(273, 93%, 18%)
CMYKcmyk(41.3%, 93.5%, 0%, 82%)
CIE-LABlab(4.47, 20.48, -22.50)
CIE-LCHlch(4.47, 30.43, 312.31°)
OKLaboklab(18.12% 0.0483 -0.0676)
OKLCHoklch(18.12% 0.083 305.5)
XYZxyz(0.9776, 0.4954, 2.6284)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B032E #162E03
analogous
#05032E #1B032E #2E032C
triadic
#1B032E #2E1B03 #032E1B
tetradic
#1B032E #2E0503 #162E03 #032C2E
square
#1B032E #2E0503 #162E03 #032C2E
split-complementary
#1B032E #2C2E03 #032E05
monochromatic
#11021D #11021D #1B032E #3D0767 #5E0AA1

Accessibility & contrast

On white

19.11
#1B032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1B032E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B032E
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B032E#FFFFFF#000000##FFFFFF
##1B032E1.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#170D18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1b032e;
/* rgb */ color: rgb(27, 3, 46);
/* oklch */ color: oklch(18.1% 0.083 305.5);
Tailwind
colors: {
  custom: {
    50: '#594767',
    500: '#1b032e',
    950: '#000000',
  },
}
SCSS
$custom: #1b032e;
$custom-light: #594767;
$custom-dark: #000000;
JSON
{
  "hex": "#1b032e",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 273.488,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18124,
    "c": 0.08302,
    "h": 305.5
  },
  "luminance": 0.00495
}

Semantic roles & 50–950 ramp

primary
#1B032E
secondary
#41721B
accent
#FE2A88
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B032E

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

Preview Lab → · Contrast checker → · Palette generator →

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