#15052C#15052C

#15052C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.075 H 297.3°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#15052C
RGBrgb(21, 5, 44)
HSLhsl(265, 80%, 10%)
HSVhsv(265, 89%, 17%)
CMYKcmyk(52.3%, 88.6%, 0%, 82.7%)
CIE-LABlab(4.06, 16.00, -21.69)
CIE-LCHlch(4.06, 26.95, 306.41°)
OKLaboklab(17.4% 0.0343 -0.0666)
OKLCHoklch(17.4% 0.075 297.3)
XYZxyz(0.8180, 0.4498, 2.4261)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15052C #1C2C05
analogous
#05092C #15052C #29052C
triadic
#15052C #2C1505 #052C15
tetradic
#15052C #2C0509 #1C2C05 #052C29
square
#15052C #2C0509 #1C2C05 #052C29
split-complementary
#15052C #2C2905 #092C05
monochromatic
#0D031B #0D031B #15052C #2F0B63 #49119A

Accessibility & contrast

On white

19.27
#15052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15052C
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15052C#FFFFFF#000000##FFFFFF
##15052C1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#0F0E17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #15052c;
/* rgb */ color: rgb(21, 5, 44);
/* oklch */ color: oklch(17.4% 0.075 297.3);
Tailwind
colors: {
  custom: {
    50: '#534865',
    500: '#15052c',
    950: '#000000',
  },
}
SCSS
$custom: #15052c;
$custom-light: #534865;
$custom-dark: #000000;
JSON
{
  "hex": "#15052c",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 264.615,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17402,
    "c": 0.07489,
    "h": 297.3
  },
  "luminance": 0.0045
}

Semantic roles & 50–950 ramp

primary
#15052C
secondary
#4D6E1F
accent
#F632A6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #15052C

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

Preview Lab → · Contrast checker → · Palette generator →

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