#151128#151128

#151128 is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.6% C 0.045 H 289.5°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#151128
RGBrgb(21, 17, 40)
HSLhsl(250, 40%, 11%)
HSVhsv(250, 58%, 16%)
CMYKcmyk(47.5%, 57.5%, 0%, 84.3%)
CIE-LABlab(6.45, 8.74, -14.92)
CIE-LCHlch(6.45, 17.29, 300.38°)
OKLaboklab(19.62% 0.0151 -0.0426)
OKLCHoklch(19.62% 0.045 289.5)
XYZxyz(0.8926, 0.7135, 2.0978)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151128 #242811
analogous
#111828 #151128 #201128
triadic
#151128 #281511 #112815
tetradic
#151128 #281118 #242811 #112820
square
#151128 #281118 #242811 #112820
split-complementary
#151128 #282011 #182811
monochromatic
#0B0915 #0B0915 #151128 #2C2353 #42367E

Accessibility & contrast

On white

18.38
#151128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#151128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151128
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151128#FFFFFF#000000##FFFFFF
##1511281.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#091427
Tritanopia (blue-blind)
#10161A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #151128;
/* rgb */ color: rgb(21, 17, 40);
/* oklch */ color: oklch(19.6% 0.045 289.5);
Tailwind
colors: {
  custom: {
    50: '#534f62',
    500: '#151128',
    950: '#000000',
  },
}
SCSS
$custom: #151128;
$custom-light: #534f62;
$custom-dark: #000000;
JSON
{
  "hex": "#151128",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 250.435,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1962,
    "c": 0.04525,
    "h": 289.5
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#151128
secondary
#585F35
accent
#D058BB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #151128

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

Preview Lab → · Contrast checker → · Palette generator →

#151128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva