#151123#151123

#151123 is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.3% C 0.036 H 292.9°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#151123
RGBrgb(21, 17, 35)
HSLhsl(253, 35%, 10%)
HSVhsv(253, 51%, 14%)
CMYKcmyk(40%, 51.4%, 0%, 86.3%)
CIE-LABlab(6.16, 6.76, -11.57)
CIE-LCHlch(6.16, 13.40, 300.30°)
OKLaboklab(19.26% 0.014 -0.0331)
OKLCHoklch(19.26% 0.036 292.9)
XYZxyz(0.8130, 0.6817, 1.6785)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151123 #1F2311
analogous
#111623 #151123 #1E1123
triadic
#151123 #231511 #112315
tetradic
#151123 #231116 #1F2311 #11231E
square
#151123 #231116 #1F2311 #11231E
split-complementary
#151123 #231E11 #162311
monochromatic
#0C0A15 #0C0A15 #151123 #2E254C #463975

Accessibility & contrast

On white

18.48
#151123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151123
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151123#FFFFFF#000000##FFFFFF
##1511231.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1424
Deuteranopia (green-blind)
#0C1323
Tritanopia (blue-blind)
#121418
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #151123;
/* rgb */ color: rgb(21, 17, 35);
/* oklch */ color: oklch(19.3% 0.036 292.9);
Tailwind
colors: {
  custom: {
    50: '#524f5e',
    500: '#151123',
    950: '#000000',
  },
}
SCSS
$custom: #151123;
$custom-light: #524f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#151123",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 253.333,
    "s": 34.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19255,
    "c": 0.03599,
    "h": 292.9
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#151123
secondary
#525936
accent
#CB5DB2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #151123

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

Preview Lab → · Contrast checker → · Palette generator →

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