#1B0A47#1B0A47

#1B0A47 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.104 H 287.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#1B0A47
RGBrgb(27, 10, 71)
HSLhsl(257, 75%, 16%)
HSVhsv(257, 86%, 28%)
CMYKcmyk(62%, 85.9%, 0%, 72.2%)
CIE-LABlab(8.17, 26.50, -34.62)
CIE-LCHlch(8.17, 43.60, 307.43°)
OKLaboklab(22.03% 0.0306 -0.0996)
OKLCHoklch(22.03% 0.104 287.1)
XYZxyz(1.6975, 0.9049, 6.0452)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A47 #36470A
analogous
#0A1747 #1B0A47 #390A47
triadic
#1B0A47 #471B0A #0A471B
tetradic
#1B0A47 #470A17 #36470A #0A4739
square
#1B0A47 #470A17 #36470A #0A4739
split-complementary
#1B0A47 #47390A #17470A
monochromatic
#0A041B #0A041B #1B0A47 #2F127D #4419B2

Accessibility & contrast

On white

17.78
#1B0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0A47
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A47#FFFFFF#000000##FFFFFF
##1B0A471.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#071B28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b0a47;
/* rgb */ color: rgb(27, 10, 71);
/* oklch */ color: oklch(22.0% 0.104 287.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b7b',
    500: '#1b0a47',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a47;
$custom-light: #5e4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a47",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 256.721,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22031,
    "c": 0.10425,
    "h": 287.1
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#1B0A47
secondary
#6B8429
accent
#F236BE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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