#15062B#15062B

#15062B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.071 H 297.4°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#15062B
RGBrgb(21, 6, 43)
HSLhsl(264, 76%, 10%)
HSVhsv(264, 86%, 17%)
CMYKcmyk(51.2%, 86%, 0%, 83.1%)
CIE-LABlab(4.19, 15.12, -20.73)
CIE-LCHlch(4.19, 25.66, 306.12°)
OKLaboklab(17.51% 0.0329 -0.0634)
OKLCHoklch(17.51% 0.071 297.4)
XYZxyz(0.8103, 0.4641, 2.3319)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15062B #1C2B06
analogous
#060A2B #15062B #28062B
triadic
#15062B #2B1506 #062B15
tetradic
#15062B #2B060A #1C2B06 #062B28
square
#15062B #2B060A #1C2B06 #062B28
split-complementary
#15062B #2B2806 #0A2B06
monochromatic
#0D041B #0D041B #15062B #2F0D61 #491596

Accessibility & contrast

On white

19.22
#15062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15062B
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15062B#FFFFFF#000000##FFFFFF
##15062B1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#0F0F17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15062b;
/* rgb */ color: rgb(21, 6, 43);
/* oklch */ color: oklch(17.5% 0.071 297.4);
Tailwind
colors: {
  custom: {
    50: '#534964',
    500: '#15062b',
    950: '#000000',
  },
}
SCSS
$custom: #15062b;
$custom-light: #534964;
$custom-dark: #000000;
JSON
{
  "hex": "#15062b",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 264.324,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17512,
    "c": 0.07141,
    "h": 297.4
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#15062B
secondary
#4D6C21
accent
#F236A6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #15062B

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

Preview Lab → · Contrast checker → · Palette generator →

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