#1B0843#1B0843

#1B0843 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.101 H 289.5°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#1B0843
RGBrgb(27, 8, 67)
HSLhsl(259, 79%, 15%)
HSVhsv(259, 88%, 26%)
CMYKcmyk(59.7%, 88.1%, 0%, 73.7%)
CIE-LABlab(7.33, 26.26, -33.18)
CIE-LCHlch(7.33, 42.31, 308.37°)
OKLaboklab(21.29% 0.0338 -0.0955)
OKLCHoklch(21.29% 0.101 289.5)
XYZxyz(1.5517, 0.8119, 5.3840)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0843 #304308
analogous
#081343 #1B0843 #390843
triadic
#1B0843 #431B08 #08431B
tetradic
#1B0843 #430813 #304308 #084339
square
#1B0843 #430813 #304308 #084339
split-complementary
#1B0843 #433908 #134308
monochromatic
#0B031B #0B031B #1B0843 #310F7A #4715B0

Accessibility & contrast

On white

18.07
#1B0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1B0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0843
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0843#FFFFFF#000000##FFFFFF
##1B08431.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#0C1925
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0843;
/* rgb */ color: rgb(27, 8, 67);
/* oklch */ color: oklch(21.3% 0.101 289.5);
Tailwind
colors: {
  custom: {
    50: '#5d4a78',
    500: '#1b0843',
    950: '#000000',
  },
}
SCSS
$custom: #1b0843;
$custom-light: #5d4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0843",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 259.322,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21294,
    "c": 0.10132,
    "h": 289.5
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#1B0843
secondary
#648125
accent
#F533B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0843

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

Preview Lab → · Contrast checker → · Palette generator →

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