#1B0F55#1B0F55

#1B0F55 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.118 H 281.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#1B0F55
RGBrgb(27, 15, 85)
HSLhsl(250, 70%, 20%)
HSVhsv(250, 82%, 33%)
CMYKcmyk(68.2%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.78, 28.39, -40.01)
CIE-LCHlch(10.78, 49.06, 305.36°)
OKLaboklab(24.34% 0.0224 -0.1154)
OKLCHoklch(24.34% 0.118 281)
XYZxyz(2.2620, 1.2304, 8.7109)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F55 #49550F
analogous
#0F2655 #1B0F55 #3E0F55
triadic
#1B0F55 #551B0F #0F551B
tetradic
#1B0F55 #550F26 #49550F #0F553E
square
#1B0F55 #550F26 #49550F #0F553E
split-complementary
#1B0F55 #553E0F #26550F
monochromatic
#08051A #0A0621 #1B0F55 #2C1889 #3C21BD

Accessibility & contrast

On white

16.85
#1B0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F55
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F55#FFFFFF#000000##FFFFFF
##1B0F551.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b0f55;
/* rgb */ color: rgb(27, 15, 85);
/* oklch */ color: oklch(24.3% 0.118 281.0);
Tailwind
colors: {
  custom: {
    50: '#614f86',
    500: '#1b0f55',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f55;
$custom-light: #614f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f55",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 250.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24341,
    "c": 0.11758,
    "h": 281
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#1B0F55
secondary
#7F8F31
accent
#ED3BCE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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