#15062D#15062D

#15062D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.074 H 295.9°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#15062D
RGBrgb(21, 6, 45)
HSLhsl(263, 76%, 10%)
HSVhsv(263, 87%, 18%)
CMYKcmyk(53.3%, 86.7%, 0%, 82.4%)
CIE-LABlab(4.33, 16.08, -22.02)
CIE-LCHlch(4.33, 27.27, 306.13°)
OKLaboklab(17.72% 0.0324 -0.0668)
OKLCHoklch(17.72% 0.074 295.9)
XYZxyz(0.8479, 0.4791, 2.5299)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15062D #1E2D06
analogous
#060A2D #15062D #29062D
triadic
#15062D #2D1506 #062D15
tetradic
#15062D #2D060A #1E2D06 #062D29
square
#15062D #2D060A #1E2D06 #062D29
split-complementary
#15062D #2D2906 #0A2D06
monochromatic
#0D041B #0D041B #15062D #2E0D63 #471499

Accessibility & contrast

On white

19.16
#15062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#15062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15062D
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15062D#FFFFFF#000000##FFFFFF
##15062D1.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)
#000F2E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#0F1018
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15062d;
/* rgb */ color: rgb(21, 6, 45);
/* oklch */ color: oklch(17.7% 0.074 295.9);
Tailwind
colors: {
  custom: {
    50: '#544966',
    500: '#15062d',
    950: '#000000',
  },
}
SCSS
$custom: #15062d;
$custom-light: #544966;
$custom-dark: #000000;
JSON
{
  "hex": "#15062d",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 263.077,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.17723,
    "c": 0.07426,
    "h": 295.9
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#15062D
secondary
#506E21
accent
#F335AA
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15062D

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

Preview Lab → · Contrast checker → · Palette generator →

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