#15052E#15052E

#15052E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.078 H 295.7°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#15052E
RGBrgb(21, 5, 46)
HSLhsl(263, 80%, 10%)
HSVhsv(263, 89%, 18%)
CMYKcmyk(54.3%, 89.1%, 0%, 82%)
CIE-LABlab(4.20, 16.97, -22.97)
CIE-LCHlch(4.20, 28.56, 306.45°)
OKLaboklab(17.62% 0.0337 -0.0699)
OKLCHoklch(17.62% 0.078 295.7)
XYZxyz(0.8565, 0.4652, 2.6289)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15052E #1E2E05
analogous
#05092E #15052E #2A052E
triadic
#15052E #2E1505 #052E15
tetradic
#15052E #2E0509 #1E2E05 #052E2A
square
#15052E #2E0509 #1E2E05 #052E2A
split-complementary
#15052E #2E2A05 #092E05
monochromatic
#0D031C #0D031C #15052E #2E0B65 #47119C

Accessibility & contrast

On white

19.21
#15052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15052E
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15052E#FFFFFF#000000##FFFFFF
##15052E1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#0E0F18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15052e;
/* rgb */ color: rgb(21, 5, 46);
/* oklch */ color: oklch(17.6% 0.078 295.7);
Tailwind
colors: {
  custom: {
    50: '#544867',
    500: '#15052e',
    950: '#000000',
  },
}
SCSS
$custom: #15052e;
$custom-light: #544867;
$custom-dark: #000000;
JSON
{
  "hex": "#15052e",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 263.415,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.17621,
    "c": 0.07764,
    "h": 295.7
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#15052E
secondary
#50701F
accent
#F731AA
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15052E

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

Preview Lab → · Contrast checker → · Palette generator →

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