#1B0F53#1B0F53

#1B0F53 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.115 H 281.5°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#1B0F53
RGBrgb(27, 15, 83)
HSLhsl(251, 69%, 19%)
HSVhsv(251, 82%, 33%)
CMYKcmyk(67.5%, 81.9%, 0%, 67.5%)
CIE-LABlab(10.55, 27.70, -39.02)
CIE-LCHlch(10.55, 47.85, 305.37°)
OKLaboklab(24.11% 0.023 -0.1125)
OKLCHoklch(24.11% 0.115 281.5)
XYZxyz(2.1837, 1.1990, 8.2983)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F53 #47530F
analogous
#0F2553 #1B0F53 #3D0F53
triadic
#1B0F53 #531B0F #0F531B
tetradic
#1B0F53 #530F25 #47530F #0F533D
square
#1B0F53 #530F25 #47530F #0F533D
split-complementary
#1B0F53 #533D0F #25530F
monochromatic
#08051A #0A061F #1B0F53 #2C1887 #3D22BB

Accessibility & contrast

On white

16.94
#1B0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1B0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F53
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F53#FFFFFF#000000##FFFFFF
##1B0F531.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001A52
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b0f53;
/* rgb */ color: rgb(27, 15, 83);
/* oklch */ color: oklch(24.1% 0.115 281.5);
Tailwind
colors: {
  custom: {
    50: '#604f84',
    500: '#1b0f53',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f53;
$custom-light: #604f84;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f53",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 250.588,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24111,
    "c": 0.11487,
    "h": 281.5
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#1B0F53
secondary
#7D8D31
accent
#EC3CCD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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