#15052D#15052D

#15052D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.076 H 296.5°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#15052D
RGBrgb(21, 5, 45)
HSLhsl(264, 80%, 10%)
HSVhsv(264, 89%, 18%)
CMYKcmyk(53.3%, 88.9%, 0%, 82.4%)
CIE-LABlab(4.13, 16.48, -22.33)
CIE-LCHlch(4.13, 27.76, 306.43°)
OKLaboklab(17.51% 0.034 -0.0683)
OKLCHoklch(17.51% 0.076 296.5)
XYZxyz(0.8371, 0.4574, 2.5263)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15052D #1D2D05
analogous
#05092D #15052D #29052D
triadic
#15052D #2D1505 #052D15
tetradic
#15052D #2D0509 #1D2D05 #052D29
square
#15052D #2D0509 #1D2D05 #052D29
split-complementary
#15052D #2D2905 #092D05
monochromatic
#0D031C #0D031C #15052D #2F0B64 #48119B

Accessibility & contrast

On white

19.24
#15052D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#15052D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15052D
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15052D#FFFFFF#000000##FFFFFF
##15052D1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#0F0F18
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #15052d;
/* rgb */ color: rgb(21, 5, 45);
/* oklch */ color: oklch(17.5% 0.076 296.5);
Tailwind
colors: {
  custom: {
    50: '#544866',
    500: '#15052d',
    950: '#000000',
  },
}
SCSS
$custom: #15052d;
$custom-light: #544866;
$custom-dark: #000000;
JSON
{
  "hex": "#15052d",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 45
  },
  "hsl": {
    "h": 264,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17511,
    "c": 0.07626,
    "h": 296.5
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#15052D
secondary
#4F6F1F
accent
#F631A8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15052D

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

Preview Lab → · Contrast checker → · Palette generator →

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