#1B0439#1B0439

#1B0439 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.094 H 296.6°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1B0439
RGBrgb(27, 4, 57)
HSLhsl(266, 87%, 12%)
HSVhsv(266, 93%, 22%)
CMYKcmyk(52.6%, 93%, 0%, 77.6%)
CIE-LABlab(5.56, 24.59, -28.89)
CIE-LCHlch(5.56, 37.94, 310.40°)
OKLaboklab(19.52% 0.0423 -0.0843)
OKLCHoklch(19.52% 0.094 296.6)
XYZxyz(1.2337, 0.6152, 3.9238)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0439 #223904
analogous
#040739 #1B0439 #360439
triadic
#1B0439 #391B04 #04391B
tetradic
#1B0439 #390407 #223904 #043936
square
#1B0439 #390407 #223904 #043936
split-complementary
#1B0439 #393604 #073904
monochromatic
#0E021D #0E021D #1B0439 #360872 #510CAB

Accessibility & contrast

On white

18.70
#1B0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0439
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0439#FFFFFF#000000##FFFFFF
##1B04391.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#13131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0439;
/* rgb */ color: rgb(27, 4, 57);
/* oklch */ color: oklch(19.5% 0.094 296.6);
Tailwind
colors: {
  custom: {
    50: '#5b4770',
    500: '#1b0439',
    950: '#000000',
  },
}
SCSS
$custom: #1b0439;
$custom-light: #5b4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0439",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 266.038,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1952,
    "c": 0.09433,
    "h": 296.6
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#1B0439
secondary
#537B1E
accent
#FD2BA2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0439

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

Preview Lab → · Contrast checker → · Palette generator →

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