#15081F#15081F

#15081F is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.8% C 0.049 H 308.2°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#15081F
RGBrgb(21, 8, 31)
HSLhsl(274, 59%, 8%)
HSVhsv(274, 74%, 12%)
CMYKcmyk(32.3%, 74.2%, 0%, 87.8%)
CIE-LABlab(3.90, 9.54, -11.93)
CIE-LCHlch(3.90, 15.27, 308.65°)
OKLaboklab(16.84% 0.0303 -0.0384)
OKLCHoklch(16.84% 0.049 308.2)
XYZxyz(0.6434, 0.4320, 1.3456)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15081F #121F08
analogous
#09081F #15081F #1F081D
triadic
#15081F #1F1508 #081F15
tetradic
#15081F #1F0908 #121F08 #081D1F
square
#15081F #1F0908 #121F08 #081D1F
split-complementary
#15081F #1D1F08 #081F09
monochromatic
#100618 #100618 #15081F #361550 #572180

Accessibility & contrast

On white

19.33
#15081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#15081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15081F
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15081F#FFFFFF#000000##FFFFFF
##15081F1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D20
Deuteranopia (green-blind)
#060E1E
Tritanopia (blue-blind)
#140C12
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #15081f;
/* rgb */ color: rgb(21, 8, 31);
/* oklch */ color: oklch(16.8% 0.049 308.2);
Tailwind
colors: {
  custom: {
    50: '#524a5a',
    500: '#15081f',
    950: '#000000',
  },
}
SCSS
$custom: #15081f;
$custom-light: #524a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#15081f",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 273.913,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16841,
    "c": 0.04888,
    "h": 308.2
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#15081F
secondary
#3E5C26
accent
#E2468A
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #15081F

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

Preview Lab → · Contrast checker → · Palette generator →

#15081F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva