#1B083F#1B083F

#1B083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.096 H 291.5°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#1B083F
RGBrgb(27, 8, 63)
HSLhsl(261, 77%, 14%)
HSVhsv(261, 87%, 25%)
CMYKcmyk(57.1%, 87.3%, 0%, 75.3%)
CIE-LABlab(6.91, 24.83, -31.02)
CIE-LCHlch(6.91, 39.73, 308.68°)
OKLaboklab(20.84% 0.0352 -0.0893)
OKLCHoklch(20.84% 0.096 291.5)
XYZxyz(1.4358, 0.7655, 4.7738)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B083F #2C3F08
analogous
#08113F #1B083F #37083F
triadic
#1B083F #3F1B08 #083F1B
tetradic
#1B083F #3F0811 #2C3F08 #083F37
square
#1B083F #3F0811 #2C3F08 #083F37
split-complementary
#1B083F #3F3708 #113F08
monochromatic
#0C031B #0C031B #1B083F #320F75 #4A16AC

Accessibility & contrast

On white

18.21
#1B083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1B083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B083F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B083F#FFFFFF#000000##FFFFFF
##1B083F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#0F1723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b083f;
/* rgb */ color: rgb(27, 8, 63);
/* oklch */ color: oklch(20.8% 0.096 291.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a75',
    500: '#1b083f',
    950: '#000000',
  },
}
SCSS
$custom: #1b083f;
$custom-light: #5c4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1b083f",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 260.727,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20841,
    "c": 0.09604,
    "h": 291.5
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#1B083F
secondary
#5F7E25
accent
#F434B2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B083F

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

Preview Lab → · Contrast checker → · Palette generator →

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