#15072A#15072A

#15072A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.068 H 297.5°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#15072A
RGBrgb(21, 7, 42)
HSLhsl(264, 71%, 10%)
HSVhsv(264, 83%, 16%)
CMYKcmyk(50%, 83.3%, 0%, 83.5%)
CIE-LABlab(4.32, 14.26, -19.76)
CIE-LCHlch(4.32, 24.37, 305.82°)
OKLaboklab(17.62% 0.0314 -0.0602)
OKLCHoklch(17.62% 0.068 297.5)
XYZxyz(0.8030, 0.4785, 2.2401)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15072A #1C2A07
analogous
#070B2A #15072A #27072A
triadic
#15072A #2A1507 #072A15
tetradic
#15072A #2A070B #1C2A07 #072A27
square
#15072A #2A070B #1C2A07 #072A27
split-complementary
#15072A #2A2707 #0B2A07
monochromatic
#0D041A #0D041A #15072A #2F105E #491893

Accessibility & contrast

On white

19.16
#15072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#15072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15072A
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15072A#FFFFFF#000000##FFFFFF
##15072A1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#100F17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15072a;
/* rgb */ color: rgb(21, 7, 42);
/* oklch */ color: oklch(17.6% 0.068 297.5);
Tailwind
colors: {
  custom: {
    50: '#534964',
    500: '#15072a',
    950: '#000000',
  },
}
SCSS
$custom: #15072a;
$custom-light: #534964;
$custom-dark: #000000;
JSON
{
  "hex": "#15072a",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17622,
    "c": 0.06791,
    "h": 297.5
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#15072A
secondary
#4D6A23
accent
#EE3AA6
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #15072A

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

Preview Lab → · Contrast checker → · Palette generator →

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