#1B093F#1B093F

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

Color values

HEX#1B093F
RGBrgb(27, 9, 63)
HSLhsl(260, 75%, 14%)
HSVhsv(260, 86%, 25%)
CMYKcmyk(57.1%, 85.7%, 0%, 75.3%)
CIE-LABlab(7.11, 24.29, -30.69)
CIE-LCHlch(7.11, 39.15, 308.36°)
OKLaboklab(20.99% 0.0342 -0.0883)
OKLCHoklch(20.99% 0.095 291.2)
XYZxyz(1.4466, 0.7872, 4.7774)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B093F #2D3F09
analogous
#09123F #1B093F #36093F
triadic
#1B093F #3F1B09 #093F1B
tetradic
#1B093F #3F0912 #2D3F09 #093F36
square
#1B093F #3F0912 #2D3F09 #093F36
split-complementary
#1B093F #3F3609 #123F09
monochromatic
#0B041B #0B041B #1B093F #321175 #4918AA

Accessibility & contrast

On white

18.14
#1B093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B093F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B093F#FFFFFF#000000##FFFFFF
##1B093F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#0F1823
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b093f;
/* rgb */ color: rgb(27, 9, 63);
/* oklch */ color: oklch(21.0% 0.095 291.2);
Tailwind
colors: {
  custom: {
    50: '#5c4a75',
    500: '#1b093f',
    950: '#000000',
  },
}
SCSS
$custom: #1b093f;
$custom-light: #5c4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1b093f",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 260,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20991,
    "c": 0.09471,
    "h": 291.2
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#1B093F
secondary
#607D27
accent
#F236B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B093F

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

Preview Lab → · Contrast checker → · Palette generator →

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