#1B032F#1B032F

#1B032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.084 H 304.7°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#1B032F
RGBrgb(27, 3, 47)
HSLhsl(273, 88%, 10%)
HSVhsv(273, 94%, 18%)
CMYKcmyk(42.6%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.55, 20.90, -23.14)
CIE-LCHlch(4.55, 31.18, 312.10°)
OKLaboklab(18.23% 0.0479 -0.0693)
OKLCHoklch(18.23% 0.084 304.7)
XYZxyz(0.9975, 0.5034, 2.7334)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B032F #172F03
analogous
#05032F #1B032F #2F032D
triadic
#1B032F #2F1B03 #032F1B
tetradic
#1B032F #2F0503 #172F03 #032D2F
square
#1B032F #2F0503 #172F03 #032D2F
split-complementary
#1B032F #2D2F03 #032F05
monochromatic
#11021D #11021D #1B032F #3C0769 #5D0AA2

Accessibility & contrast

On white

19.08
#1B032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B032F
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B032F#FFFFFF#000000##FFFFFF
##1B032F1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#170D18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1b032f;
/* rgb */ color: rgb(27, 3, 47);
/* oklch */ color: oklch(18.2% 0.084 304.7);
Tailwind
colors: {
  custom: {
    50: '#594768',
    500: '#1b032f',
    950: '#000000',
  },
}
SCSS
$custom: #1b032f;
$custom-light: #594768;
$custom-dark: #000000;
JSON
{
  "hex": "#1b032f",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 272.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1823,
    "c": 0.0842,
    "h": 304.7
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#1B032F
secondary
#43731B
accent
#FE2A8A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B032F

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

Preview Lab → · Contrast checker → · Palette generator →

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