#15053F#15053F

#15053F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.100 H 285.7°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#15053F
RGBrgb(21, 5, 63)
HSLhsl(257, 85%, 13%)
HSVhsv(257, 92%, 25%)
CMYKcmyk(66.7%, 92.1%, 0%, 75.3%)
CIE-LABlab(5.66, 24.98, -33.09)
CIE-LCHlch(5.66, 41.46, 307.05°)
OKLaboklab(19.64% 0.0272 -0.0967)
OKLCHoklch(19.64% 0.1 285.7)
XYZxyz(1.2605, 0.6268, 4.7562)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15053F #2F3F05
analogous
#05123F #15053F #32053F
triadic
#15053F #3F1505 #053F15
tetradic
#15053F #3F0512 #2F3F05 #053F32
square
#15053F #3F0512 #2F3F05 #053F32
split-complementary
#15053F #3F3205 #123F05
monochromatic
#09021C #09021C #15053F #280978 #3B0EB0

Accessibility & contrast

On white

18.66
#15053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#15053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15053F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15053F#FFFFFF#000000##FFFFFF
##15053F1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#011622
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #15053f;
/* rgb */ color: rgb(21, 5, 63);
/* oklch */ color: oklch(19.6% 0.100 285.7);
Tailwind
colors: {
  custom: {
    50: '#594875',
    500: '#15053f',
    950: '#000000',
  },
}
SCSS
$custom: #15053f;
$custom-light: #594875;
$custom-dark: #000000;
JSON
{
  "hex": "#15053f",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 256.552,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19636,
    "c": 0.10043,
    "h": 285.7
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#15053F
secondary
#658020
accent
#FC2CC2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #15053F

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

Preview Lab → · Contrast checker → · Palette generator →

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