#15042E#15042E

#15042E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.080 H 296.3°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#15042E
RGBrgb(21, 4, 46)
HSLhsl(264, 84%, 10%)
HSVhsv(264, 91%, 18%)
CMYKcmyk(54.3%, 91.3%, 0%, 82%)
CIE-LABlab(4.01, 17.38, -23.29)
CIE-LCHlch(4.01, 29.05, 306.73°)
OKLaboklab(17.41% 0.0354 -0.0714)
OKLCHoklch(17.41% 0.08 296.3)
XYZxyz(0.8457, 0.4435, 2.6253)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15042E #1D2E04
analogous
#04082E #15042E #2A042E
triadic
#15042E #2E1504 #042E15
tetradic
#15042E #2E0408 #1D2E04 #042E2A
square
#15042E #2E0408 #1D2E04 #042E2A
split-complementary
#15042E #2E2A04 #082E04
monochromatic
#0D021C #0D021C #15042E #2F0966 #480E9F

Accessibility & contrast

On white

19.29
#15042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#15042E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15042E
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15042E#FFFFFF#000000##FFFFFF
##15042E1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#0E0E18
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #15042e;
/* rgb */ color: rgb(21, 4, 46);
/* oklch */ color: oklch(17.4% 0.080 296.3);
Tailwind
colors: {
  custom: {
    50: '#544867',
    500: '#15042e',
    950: '#000000',
  },
}
SCSS
$custom: #15042e;
$custom-light: #544867;
$custom-dark: #000000;
JSON
{
  "hex": "#15042e",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 264.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17407,
    "c": 0.07967,
    "h": 296.3
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#15042E
secondary
#4F711D
accent
#FA2EA7
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15042E

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

Preview Lab → · Contrast checker → · Palette generator →

#15042E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva