#1B0A3E#1B0A3E

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

Color values

HEX#1B0A3E
RGBrgb(27, 10, 62)
HSLhsl(260, 72%, 14%)
HSVhsv(260, 84%, 24%)
CMYKcmyk(56.5%, 83.9%, 0%, 75.7%)
CIE-LABlab(7.21, 23.40, -29.82)
CIE-LCHlch(7.21, 37.91, 308.12°)
OKLaboklab(21.03% 0.0335 -0.0857)
OKLCHoklch(21.03% 0.092 291.3)
XYZxyz(1.4298, 0.7978, 4.6352)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A3E #2D3E0A
analogous
#0A133E #1B0A3E #350A3E
triadic
#1B0A3E #3E1B0A #0A3E1B
tetradic
#1B0A3E #3E0A13 #2D3E0A #0A3E35
square
#1B0A3E #3E0A13 #2D3E0A #0A3E35
split-complementary
#1B0A3E #3E350A #133E0A
monochromatic
#0B041A #0B041A #1B0A3E #321373 #491BA7

Accessibility & contrast

On white

18.11
#1B0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0A3E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A3E#FFFFFF#000000##FFFFFF
##1B0A3E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0a3e;
/* rgb */ color: rgb(27, 10, 62);
/* oklch */ color: oklch(21.0% 0.092 291.3);
Tailwind
colors: {
  custom: {
    50: '#5c4b74',
    500: '#1b0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a3e;
$custom-light: #5c4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a3e",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 259.615,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21031,
    "c": 0.09204,
    "h": 291.3
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#1B0A3E
secondary
#607B28
accent
#EF39B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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