#1B083D#1B083D

#1B083D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.093 H 292.6°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1B083D
RGBrgb(27, 8, 61)
HSLhsl(262, 77%, 14%)
HSVhsv(262, 87%, 24%)
CMYKcmyk(55.7%, 86.9%, 0%, 76.1%)
CIE-LABlab(6.72, 24.09, -29.90)
CIE-LCHlch(6.72, 38.40, 308.85°)
OKLaboklab(20.62% 0.0359 -0.0862)
OKLCHoklch(20.62% 0.093 292.6)
XYZxyz(1.3809, 0.7436, 4.4847)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B083D #2A3D08
analogous
#080F3D #1B083D #35083D
triadic
#1B083D #3D1B08 #083D1B
tetradic
#1B083D #3D080F #2A3D08 #083D35
square
#1B083D #3D080F #2A3D08 #083D35
split-complementary
#1B083D #3D3508 #0F3D08
monochromatic
#0C041B #0C041B #1B083D #330F73 #4B16A9

Accessibility & contrast

On white

18.28
#1B083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B083D
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B083D#FFFFFF#000000##FFFFFF
##1B083D1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#101622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b083d;
/* rgb */ color: rgb(27, 8, 61);
/* oklch */ color: oklch(20.6% 0.093 292.6);
Tailwind
colors: {
  custom: {
    50: '#5c4a73',
    500: '#1b083d',
    950: '#000000',
  },
}
SCSS
$custom: #1b083d;
$custom-light: #5c4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#1b083d",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 261.509,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2062,
    "c": 0.09338,
    "h": 292.6
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#1B083D
secondary
#5D7C25
accent
#F334AF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B083D

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

Preview Lab → · Contrast checker → · Palette generator →

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