#1B0F56#1B0F56

#1B0F56 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.119 H 280.7°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#1B0F56
RGBrgb(27, 15, 86)
HSLhsl(250, 70%, 20%)
HSVhsv(250, 83%, 34%)
CMYKcmyk(68.6%, 82.6%, 0%, 66.3%)
CIE-LABlab(10.90, 28.74, -40.50)
CIE-LCHlch(10.90, 49.66, 305.36°)
OKLaboklab(24.46% 0.0221 -0.1169)
OKLCHoklch(24.46% 0.119 280.7)
XYZxyz(2.3020, 1.2464, 8.9216)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F56 #4A560F
analogous
#0F2656 #1B0F56 #3F0F56
triadic
#1B0F56 #561B0F #0F561B
tetradic
#1B0F56 #560F26 #4A560F #0F563F
square
#1B0F56 #560F26 #4A560F #0F563F
split-complementary
#1B0F56 #563F0F #26560F
monochromatic
#08051A #0B0622 #1B0F56 #2B188A #3C21BE

Accessibility & contrast

On white

16.81
#1B0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F56
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F56#FFFFFF#000000##FFFFFF
##1B0F561.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b0f56;
/* rgb */ color: rgb(27, 15, 86);
/* oklch */ color: oklch(24.5% 0.119 280.7);
Tailwind
colors: {
  custom: {
    50: '#614f86',
    500: '#1b0f56',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f56;
$custom-light: #614f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f56",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 250.141,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24457,
    "c": 0.11893,
    "h": 280.7
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#1B0F56
secondary
#809031
accent
#ED3BCF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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