#15012B#15012B

#15012B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.083 H 300.7°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#15012B
RGBrgb(21, 1, 43)
HSLhsl(269, 95%, 9%)
HSVhsv(269, 98%, 17%)
CMYKcmyk(51.2%, 97.7%, 0%, 83.1%)
CIE-LABlab(3.21, 17.13, -22.27)
CIE-LCHlch(3.21, 28.10, 307.56°)
OKLaboklab(16.37% 0.0423 -0.0712)
OKLCHoklch(16.37% 0.083 300.7)
XYZxyz(0.7561, 0.3555, 2.3138)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15012B #172B01
analogous
#01022B #15012B #2A012B
triadic
#15012B #2B1501 #012B15
tetradic
#15012B #2B0102 #172B01 #012B2A
square
#15012B #2B0102 #172B01 #012B2A
split-complementary
#15012B #2B2A01 #022B01
monochromatic
#0F011E #0F011E #15012B #320267 #4F04A3

Accessibility & contrast

On white

19.60
#15012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#15012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15012B
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15012B#FFFFFF#000000##FFFFFF
##15012B1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#100B15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #15012b;
/* rgb */ color: rgb(21, 1, 43);
/* oklch */ color: oklch(16.4% 0.083 300.7);
Tailwind
colors: {
  custom: {
    50: '#534664',
    500: '#15012b',
    950: '#000000',
  },
}
SCSS
$custom: #15012b;
$custom-light: #534664;
$custom-dark: #000000;
JSON
{
  "hex": "#15012b",
  "rgb": {
    "r": 21,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 268.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16366,
    "c": 0.0828,
    "h": 300.7
  },
  "luminance": 0.00356
}

Semantic roles & 50–950 ramp

primary
#15012B
secondary
#467117
accent
#FF2999
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #15012B

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

Preview Lab → · Contrast checker → · Palette generator →

#15012B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva