#15052F#15052F

#15052F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.079 H 295.0°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#15052F
RGBrgb(21, 5, 47)
HSLhsl(263, 81%, 10%)
HSVhsv(263, 89%, 18%)
CMYKcmyk(55.3%, 89.4%, 0%, 81.6%)
CIE-LABlab(4.27, 17.46, -23.61)
CIE-LCHlch(4.27, 29.37, 306.49°)
OKLaboklab(17.73% 0.0334 -0.0716)
OKLCHoklch(17.73% 0.079 295)
XYZxyz(0.8765, 0.4732, 2.7339)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15052F #1F2F05
analogous
#050A2F #15052F #2A052F
triadic
#15052F #2F1505 #052F15
tetradic
#15052F #2F050A #1F2F05 #052F2A
square
#15052F #2F050A #1F2F05 #052F2A
split-complementary
#15052F #2F2A05 #0A2F05
monochromatic
#0C031C #0C031C #15052F #2E0B66 #46119E

Accessibility & contrast

On white

19.19
#15052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15052F
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15052F#FFFFFF#000000##FFFFFF
##15052F1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#0E1019
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15052f;
/* rgb */ color: rgb(21, 5, 47);
/* oklch */ color: oklch(17.7% 0.079 295.0);
Tailwind
colors: {
  custom: {
    50: '#544868',
    500: '#15052f',
    950: '#000000',
  },
}
SCSS
$custom: #15052f;
$custom-light: #544868;
$custom-dark: #000000;
JSON
{
  "hex": "#15052f",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 262.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17732,
    "c": 0.07901,
    "h": 295
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#15052F
secondary
#52711F
accent
#F731AC
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15052F

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

Preview Lab → · Contrast checker → · Palette generator →

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