#15043B#15043B

#15043B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.097 H 288.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#15043B
RGBrgb(21, 4, 59)
HSLhsl(259, 87%, 12%)
HSVhsv(259, 93%, 23%)
CMYKcmyk(64.4%, 93.2%, 0%, 76.9%)
CIE-LABlab(5.08, 23.67, -31.16)
CIE-LCHlch(5.08, 39.13, 307.22°)
OKLaboklab(18.96% 0.03 -0.0919)
OKLCHoklch(18.96% 0.097 288)
XYZxyz(1.1419, 0.5620, 4.1851)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15043B #2A3B04
analogous
#040F3B #15043B #30043B
triadic
#15043B #3B1504 #043B15
tetradic
#15043B #3B040F #2A3B04 #043B30
square
#15043B #3B040F #2A3B04 #043B30
split-complementary
#15043B #3B3004 #0F3B04
monochromatic
#0A021D #0A021D #15043B #290874 #3E0CAE

Accessibility & contrast

On white

18.88
#15043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#15043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15043B
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15043B#FFFFFF#000000##FFFFFF
##15043B1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123C
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#051420
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #15043b;
/* rgb */ color: rgb(21, 4, 59);
/* oklch */ color: oklch(19.0% 0.097 288.0);
Tailwind
colors: {
  custom: {
    50: '#584772',
    500: '#15043b',
    950: '#000000',
  },
}
SCSS
$custom: #15043b;
$custom-light: #584772;
$custom-dark: #000000;
JSON
{
  "hex": "#15043b",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 258.545,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1896,
    "c": 0.0967,
    "h": 288
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#15043B
secondary
#5F7D1E
accent
#FD2ABC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #15043B

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

Preview Lab → · Contrast checker → · Palette generator →

#15043B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva