#1B0D57#1B0D57

#1B0D57 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.3% C 0.122 H 280.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#1B0D57
RGBrgb(27, 13, 87)
HSLhsl(251, 74%, 20%)
HSVhsv(251, 85%, 34%)
CMYKcmyk(69%, 85.1%, 0%, 65.9%)
CIE-LABlab(10.62, 30.20, -41.63)
CIE-LCHlch(10.62, 51.43, 305.96°)
OKLaboklab(24.3% 0.0231 -0.1201)
OKLCHoklch(24.3% 0.122 280.9)
XYZxyz(2.3157, 1.2088, 9.1263)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D57 #49570D
analogous
#0D2457 #1B0D57 #400D57
triadic
#1B0D57 #571B0D #0D571B
tetradic
#1B0D57 #570D24 #49570D #0D5740
square
#1B0D57 #570D24 #49570D #0D5740
split-complementary
#1B0D57 #57400D #24570D
monochromatic
#08041B #0A0522 #1B0D57 #2C158C #3C1DC1

Accessibility & contrast

On white

16.91
#1B0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D57
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D57#FFFFFF#000000##FFFFFF
##1B0D571.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b0d57;
/* rgb */ color: rgb(27, 13, 87);
/* oklch */ color: oklch(24.3% 0.122 280.9);
Tailwind
colors: {
  custom: {
    50: '#614e87',
    500: '#1b0d57',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d57;
$custom-light: #614e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d57",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 251.351,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24301,
    "c": 0.12233,
    "h": 280.9
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#1B0D57
secondary
#7F922E
accent
#F137CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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