#1B093E#1B093E

#1B093E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.093 H 291.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#1B093E
RGBrgb(27, 9, 62)
HSLhsl(260, 75%, 14%)
HSVhsv(260, 85%, 24%)
CMYKcmyk(56.5%, 85.5%, 0%, 75.7%)
CIE-LABlab(7.01, 23.93, -30.14)
CIE-LCHlch(7.01, 38.49, 308.45°)
OKLaboklab(20.88% 0.0345 -0.0867)
OKLCHoklch(20.88% 0.093 291.7)
XYZxyz(1.4189, 0.7761, 4.6315)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B093E #2C3E09
analogous
#09123E #1B093E #36093E
triadic
#1B093E #3E1B09 #093E1B
tetradic
#1B093E #3E0912 #2C3E09 #093E36
square
#1B093E #3E0912 #2C3E09 #093E36
split-complementary
#1B093E #3E3609 #123E09
monochromatic
#0C041B #0C041B #1B093E #321173 #4A19A9

Accessibility & contrast

On white

18.18
#1B093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B093E
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B093E#FFFFFF#000000##FFFFFF
##1B093E1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b093e;
/* rgb */ color: rgb(27, 9, 62);
/* oklch */ color: oklch(20.9% 0.093 291.7);
Tailwind
colors: {
  custom: {
    50: '#5c4a74',
    500: '#1b093e',
    950: '#000000',
  },
}
SCSS
$custom: #1b093e;
$custom-light: #5c4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1b093e",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 260.377,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.09336,
    "h": 291.7
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#1B093E
secondary
#5F7C27
accent
#F137B2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B093E

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

Preview Lab → · Contrast checker → · Palette generator →

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