#1B0A43#1B0A43

#1B0A43 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.099 H 288.9°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#1B0A43
RGBrgb(27, 10, 67)
HSLhsl(258, 74%, 15%)
HSVhsv(258, 85%, 26%)
CMYKcmyk(59.7%, 85.1%, 0%, 73.7%)
CIE-LABlab(7.73, 25.16, -32.53)
CIE-LCHlch(7.73, 41.13, 307.72°)
OKLaboklab(21.58% 0.032 -0.0936)
OKLCHoklch(21.58% 0.099 288.9)
XYZxyz(1.5734, 0.8553, 5.3913)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A43 #32430A
analogous
#0A1543 #1B0A43 #380A43
triadic
#1B0A43 #431B0A #0A431B
tetradic
#1B0A43 #430A15 #32430A #0A4338
square
#1B0A43 #430A15 #32430A #0A4338
split-complementary
#1B0A43 #43380A #15430A
monochromatic
#0B041B #0B041B #1B0A43 #301278 #461AAE

Accessibility & contrast

On white

17.93
#1B0A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1B0A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0A43
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A43#FFFFFF#000000##FFFFFF
##1B0A431.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#0B1A26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0a43;
/* rgb */ color: rgb(27, 10, 67);
/* oklch */ color: oklch(21.6% 0.099 288.9);
Tailwind
colors: {
  custom: {
    50: '#5d4b78',
    500: '#1b0a43',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a43;
$custom-light: #5d4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a43",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 257.895,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21579,
    "c": 0.09886,
    "h": 288.9
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#1B0A43
secondary
#668029
accent
#F137B9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0A43

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

Preview Lab → · Contrast checker → · Palette generator →

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