#15043F#15043F

#15043F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.102 H 286.0°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#15043F
RGBrgb(21, 4, 63)
HSLhsl(257, 88%, 13%)
HSVhsv(257, 94%, 25%)
CMYKcmyk(66.7%, 93.7%, 0%, 75.3%)
CIE-LABlab(5.47, 25.48, -33.41)
CIE-LCHlch(5.47, 42.02, 307.34°)
OKLaboklab(19.47% 0.0282 -0.0979)
OKLCHoklch(19.47% 0.102 286)
XYZxyz(1.2496, 0.6051, 4.7526)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15043F #2E3F04
analogous
#04103F #15043F #32043F
triadic
#15043F #3F1504 #043F15
tetradic
#15043F #3F0410 #2E3F04 #043F32
square
#15043F #3F0410 #2E3F04 #043F32
split-complementary
#15043F #3F3204 #103F04
monochromatic
#0A021D #0A021D #15043F #280879 #3B0BB2

Accessibility & contrast

On white

18.73
#15043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#15043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15043F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15043F#FFFFFF#000000##FFFFFF
##15043F1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#011622
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #15043f;
/* rgb */ color: rgb(21, 4, 63);
/* oklch */ color: oklch(19.5% 0.102 286.0);
Tailwind
colors: {
  custom: {
    50: '#594775',
    500: '#15043f',
    950: '#000000',
  },
}
SCSS
$custom: #15043f;
$custom-light: #594775;
$custom-dark: #000000;
JSON
{
  "hex": "#15043f",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 257.288,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19465,
    "c": 0.10184,
    "h": 286
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#15043F
secondary
#64801E
accent
#FE2AC1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #15043F

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

Preview Lab → · Contrast checker → · Palette generator →

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