#15082D#15082D

#15082D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.070 H 294.6°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#15082D
RGBrgb(21, 8, 45)
HSLhsl(261, 70%, 10%)
HSVhsv(261, 82%, 18%)
CMYKcmyk(53.3%, 82.2%, 0%, 82.4%)
CIE-LABlab(4.72, 15.27, -21.40)
CIE-LCHlch(4.72, 26.29, 305.50°)
OKLaboklab(18.13% 0.0293 -0.0641)
OKLCHoklch(18.13% 0.07 294.6)
XYZxyz(0.8696, 0.5225, 2.5372)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15082D #202D08
analogous
#080D2D #15082D #27082D
triadic
#15082D #2D1508 #082D15
tetradic
#15082D #2D080D #202D08 #082D27
square
#15082D #2D080D #202D08 #082D27
split-complementary
#15082D #2D2708 #0D2D08
monochromatic
#0C051A #0C051A #15082D #2D1161 #451A95

Accessibility & contrast

On white

19.01
#15082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15082D
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15082D#FFFFFF#000000##FFFFFF
##15082D1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#0E1119
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #15082d;
/* rgb */ color: rgb(21, 8, 45);
/* oklch */ color: oklch(18.1% 0.070 294.6);
Tailwind
colors: {
  custom: {
    50: '#544a66',
    500: '#15082d',
    950: '#000000',
  },
}
SCSS
$custom: #15082d;
$custom-light: #544a66;
$custom-dark: #000000;
JSON
{
  "hex": "#15082d",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 261.081,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18132,
    "c": 0.07047,
    "h": 294.6
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#15082D
secondary
#536C25
accent
#ED3BAE
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #15082D

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

Preview Lab → · Contrast checker → · Palette generator →

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