#15062A#15062A

#15062A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.4% C 0.070 H 298.2°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#15062A
RGBrgb(21, 6, 42)
HSLhsl(265, 75%, 9%)
HSVhsv(265, 86%, 16%)
CMYKcmyk(50%, 85.7%, 0%, 83.5%)
CIE-LABlab(4.13, 14.67, -20.07)
CIE-LCHlch(4.13, 24.86, 306.15°)
OKLaboklab(17.41% 0.0331 -0.0616)
OKLCHoklch(17.41% 0.07 298.2)
XYZxyz(0.7922, 0.4568, 2.2365)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15062A #1B2A06
analogous
#06092A #15062A #27062A
triadic
#15062A #2A1506 #062A15
tetradic
#15062A #2A0609 #1B2A06 #062A27
square
#15062A #2A0609 #1B2A06 #062A27
split-complementary
#15062A #2A2706 #092A06
monochromatic
#0D041B #0D041B #15062A #300E60 #4B1595

Accessibility & contrast

On white

19.24
#15062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#15062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15062A
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15062A#FFFFFF#000000##FFFFFF
##15062A1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#100E17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #15062a;
/* rgb */ color: rgb(21, 6, 42);
/* oklch */ color: oklch(17.4% 0.070 298.2);
Tailwind
colors: {
  custom: {
    50: '#534964',
    500: '#15062a',
    950: '#000000',
  },
}
SCSS
$custom: #15062a;
$custom-light: #534964;
$custom-dark: #000000;
JSON
{
  "hex": "#15062a",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 265,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17408,
    "c": 0.06997,
    "h": 298.2
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#15062A
secondary
#4C6B21
accent
#F236A4
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #15062A

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

Preview Lab → · Contrast checker → · Palette generator →

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