#1B0A45#1B0A45

#1B0A45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.102 H 288.0°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#1B0A45
RGBrgb(27, 10, 69)
HSLhsl(257, 75%, 15%)
HSVhsv(257, 86%, 27%)
CMYKcmyk(60.9%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.95, 25.84, -33.59)
CIE-LCHlch(7.95, 42.38, 307.57°)
OKLaboklab(21.8% 0.0313 -0.0966)
OKLCHoklch(21.8% 0.102 288)
XYZxyz(1.6344, 0.8797, 5.7127)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A45 #34450A
analogous
#0A1645 #1B0A45 #380A45
triadic
#1B0A45 #451B0A #0A451B
tetradic
#1B0A45 #450A16 #34450A #0A4538
square
#1B0A45 #450A16 #34450A #0A4538
split-complementary
#1B0A45 #45380A #16450A
monochromatic
#0A041B #0A041B #1B0A45 #30127A #4519B0

Accessibility & contrast

On white

17.86
#1B0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1B0A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0A45
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A45#FFFFFF#000000##FFFFFF
##1B0A451.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#0A1B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0a45;
/* rgb */ color: rgb(27, 10, 69);
/* oklch */ color: oklch(21.8% 0.102 288.0);
Tailwind
colors: {
  custom: {
    50: '#5d4b79',
    500: '#1b0a45',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a45;
$custom-light: #5d4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a45",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 257.288,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21804,
    "c": 0.10158,
    "h": 288
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#1B0A45
secondary
#688229
accent
#F136BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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