#1B083E#1B083E

#1B083E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.095 H 292.1°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#1B083E
RGBrgb(27, 8, 62)
HSLhsl(261, 77%, 14%)
HSVhsv(261, 87%, 24%)
CMYKcmyk(56.5%, 87.1%, 0%, 75.7%)
CIE-LABlab(6.81, 24.46, -30.46)
CIE-LCHlch(6.81, 39.07, 308.77°)
OKLaboklab(20.73% 0.0356 -0.0878)
OKLCHoklch(20.73% 0.095 292.1)
XYZxyz(1.4081, 0.7544, 4.6279)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B083E #2B3E08
analogous
#08103E #1B083E #36083E
triadic
#1B083E #3E1B08 #083E1B
tetradic
#1B083E #3E0810 #2B3E08 #083E36
square
#1B083E #3E0810 #2B3E08 #083E36
split-complementary
#1B083E #3E3608 #103E08
monochromatic
#0C031B #0C031B #1B083E #330F74 #4A16AA

Accessibility & contrast

On white

18.25
#1B083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B083E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B083E#FFFFFF#000000##FFFFFF
##1B083E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#0F1722
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b083e;
/* rgb */ color: rgb(27, 8, 62);
/* oklch */ color: oklch(20.7% 0.095 292.1);
Tailwind
colors: {
  custom: {
    50: '#5c4a74',
    500: '#1b083e',
    950: '#000000',
  },
}
SCSS
$custom: #1b083e;
$custom-light: #5c4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1b083e",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 261.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2073,
    "c": 0.09472,
    "h": 292.1
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#1B083E
secondary
#5E7D25
accent
#F434B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B083E

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

Preview Lab → · Contrast checker → · Palette generator →

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