#15084B#15084B

#15084B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.113 H 280.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#15084B
RGBrgb(21, 8, 75)
HSLhsl(252, 81%, 16%)
HSVhsv(252, 89%, 29%)
CMYKcmyk(72%, 89.3%, 0%, 70.6%)
CIE-LABlab(7.60, 28.16, -38.39)
CIE-LCHlch(7.60, 47.61, 306.26°)
OKLaboklab(21.61% 0.0201 -0.1109)
OKLCHoklch(21.61% 0.113 280.3)
XYZxyz(1.6657, 0.8410, 6.7298)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15084B #3E4B08
analogous
#081D4B #15084B #37084B
triadic
#15084B #4B1508 #084B15
tetradic
#15084B #4B081D #3E4B08 #084B37
square
#15084B #4B081D #3E4B08 #084B37
split-complementary
#15084B #4B3708 #1D4B08
monochromatic
#08031C #08031C #15084B #240E82 #3414BA

Accessibility & contrast

On white

17.98
#15084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#15084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15084B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15084B#FFFFFF#000000##FFFFFF
##15084B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194D
Deuteranopia (green-blind)
#00144A
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #15084b;
/* rgb */ color: rgb(21, 8, 75);
/* oklch */ color: oklch(21.6% 0.113 280.3);
Tailwind
colors: {
  custom: {
    50: '#5c4a7e',
    500: '#15084b',
    950: '#000000',
  },
}
SCSS
$custom: #15084b;
$custom-light: #5c4a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#15084b",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 251.642,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21607,
    "c": 0.11267,
    "h": 280.3
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#15084B
secondary
#768926
accent
#F731D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #15084B

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

Preview Lab → · Contrast checker → · Palette generator →

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