#1B0F57#1B0F57

#1B0F57 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.6% C 0.120 H 280.4°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1B0F57
RGBrgb(27, 15, 87)
HSLhsl(250, 71%, 20%)
HSVhsv(250, 83%, 34%)
CMYKcmyk(69%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.01, 29.08, -40.98)
CIE-LCHlch(11.01, 50.25, 305.36°)
OKLaboklab(24.57% 0.0218 -0.1183)
OKLCHoklch(24.57% 0.12 280.4)
XYZxyz(2.3426, 1.2626, 9.1352)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F57 #4B570F
analogous
#0F2757 #1B0F57 #3F0F57
triadic
#1B0F57 #571B0F #0F571B
tetradic
#1B0F57 #570F27 #4B570F #0F573F
square
#1B0F57 #570F27 #4B570F #0F573F
split-complementary
#1B0F57 #573F0F #27570F
monochromatic
#08051A #0B0623 #1B0F57 #2B188B #3B21BF

Accessibility & contrast

On white

16.77
#1B0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F57
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F57#FFFFFF#000000##FFFFFF
##1B0F571.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0f57;
/* rgb */ color: rgb(27, 15, 87);
/* oklch */ color: oklch(24.6% 0.120 280.4);
Tailwind
colors: {
  custom: {
    50: '#614f87',
    500: '#1b0f57',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f57;
$custom-light: #614f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f57",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 250,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24573,
    "c": 0.12028,
    "h": 280.4
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#1B0F57
secondary
#819131
accent
#ED3AD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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