#15072C#15072C

#15072C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.071 H 296.0°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#15072C
RGBrgb(21, 7, 44)
HSLhsl(263, 73%, 10%)
HSVhsv(263, 84%, 17%)
CMYKcmyk(52.3%, 84.1%, 0%, 82.7%)
CIE-LABlab(4.46, 15.19, -21.07)
CIE-LCHlch(4.46, 25.98, 305.80°)
OKLaboklab(17.83% 0.031 -0.0637)
OKLCHoklch(17.83% 0.071 296)
XYZxyz(0.8397, 0.4932, 2.4333)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15072C #1E2C07
analogous
#070B2C #15072C #28072C
triadic
#15072C #2C1507 #072C15
tetradic
#15072C #2C070B #1E2C07 #072C28
square
#15072C #2C070B #1E2C07 #072C28
split-complementary
#15072C #2C2807 #0B2C07
monochromatic
#0D041A #0D041A #15072C #2E0F61 #471896

Accessibility & contrast

On white

19.12
#15072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15072C
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15072C#FFFFFF#000000##FFFFFF
##15072C1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#0F1018
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15072c;
/* rgb */ color: rgb(21, 7, 44);
/* oklch */ color: oklch(17.8% 0.071 296.0);
Tailwind
colors: {
  custom: {
    50: '#534965',
    500: '#15072c',
    950: '#000000',
  },
}
SCSS
$custom: #15072c;
$custom-light: #534965;
$custom-dark: #000000;
JSON
{
  "hex": "#15072c",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 262.703,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.17826,
    "c": 0.07087,
    "h": 296
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#15072C
secondary
#506C23
accent
#EF39AA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030105
muted
#78777A

Preview Lab

Preview with #15072C

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

Preview Lab → · Contrast checker → · Palette generator →

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