#15053C#15053C

#15053C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.096 H 287.1°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#15053C
RGBrgb(21, 5, 60)
HSLhsl(257, 85%, 13%)
HSVhsv(257, 92%, 24%)
CMYKcmyk(65%, 91.7%, 0%, 76.5%)
CIE-LABlab(5.37, 23.64, -31.41)
CIE-LCHlch(5.37, 39.31, 306.97°)
OKLaboklab(19.26% 0.0284 -0.0922)
OKLCHoklch(19.26% 0.096 287.1)
XYZxyz(1.1789, 0.5941, 4.3267)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15053C #2C3C05
analogous
#05103C #15053C #30053C
triadic
#15053C #3C1505 #053C15
tetradic
#15053C #3C0510 #2C3C05 #053C30
square
#15053C #3C0510 #2C3C05 #053C30
split-complementary
#15053C #3C3005 #103C05
monochromatic
#0A021C #0A021C #15053C #290A74 #3D0EAD

Accessibility & contrast

On white

18.77
#15053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#15053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15053C
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15053C#FFFFFF#000000##FFFFFF
##15053C1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#041520
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #15053c;
/* rgb */ color: rgb(21, 5, 60);
/* oklch */ color: oklch(19.3% 0.096 287.1);
Tailwind
colors: {
  custom: {
    50: '#584872',
    500: '#15053c',
    950: '#000000',
  },
}
SCSS
$custom: #15053c;
$custom-light: #584872;
$custom-dark: #000000;
JSON
{
  "hex": "#15053c",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 257.455,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19264,
    "c": 0.09649,
    "h": 287.1
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#15053C
secondary
#627D20
accent
#FB2DBF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #15053C

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

Preview Lab → · Contrast checker → · Palette generator →

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