#15043A#15043A

#15043A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.095 H 288.6°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#15043A
RGBrgb(21, 4, 58)
HSLhsl(259, 87%, 12%)
HSVhsv(259, 93%, 23%)
CMYKcmyk(63.8%, 93.1%, 0%, 77.3%)
CIE-LABlab(4.98, 23.20, -30.58)
CIE-LCHlch(4.98, 38.39, 307.19°)
OKLaboklab(18.84% 0.0304 -0.0904)
OKLCHoklch(18.84% 0.095 288.6)
XYZxyz(1.1162, 0.5517, 4.0498)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15043A #293A04
analogous
#040E3A #15043A #30043A
triadic
#15043A #3A1504 #043A15
tetradic
#15043A #3A040E #293A04 #043A30
square
#15043A #3A040E #293A04 #043A30
split-complementary
#15043A #3A3004 #0E3A04
monochromatic
#0A021D #0A021D #15043A #2A0873 #3E0CAD

Accessibility & contrast

On white

18.91
#15043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15043A
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15043A#FFFFFF#000000##FFFFFF
##15043A1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#06141F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #15043a;
/* rgb */ color: rgb(21, 4, 58);
/* oklch */ color: oklch(18.8% 0.095 288.6);
Tailwind
colors: {
  custom: {
    50: '#574771',
    500: '#15043a',
    950: '#000000',
  },
}
SCSS
$custom: #15043a;
$custom-light: #574771;
$custom-dark: #000000;
JSON
{
  "hex": "#15043a",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 258.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18836,
    "c": 0.0954,
    "h": 288.6
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#15043A
secondary
#5E7C1E
accent
#FD2BBB
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #15043A

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

Preview Lab → · Contrast checker → · Palette generator →

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