#15002C#15002C

#15002C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.086 H 300.5°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#15002C
RGBrgb(21, 0, 44)
HSLhsl(269, 100%, 9%)
HSVhsv(269, 100%, 17%)
CMYKcmyk(52.3%, 100%, 0%, 82.7%)
CIE-LABlab(3.08, 18.00, -23.24)
CIE-LCHlch(3.08, 29.39, 307.76°)
OKLaboklab(16.24% 0.0439 -0.0745)
OKLCHoklch(16.24% 0.086 300.5)
XYZxyz(0.7638, 0.3413, 2.4080)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15002C #172C00
analogous
#00012C #15002C #2B002C
triadic
#15002C #2C1500 #002C15
tetradic
#15002C #2C0001 #172C00 #002C2B
square
#15002C #2C0001 #172C00 #002C2B
split-complementary
#15002C #2C2B00 #012C00
monochromatic
#0F001F #0F001F #15002C #320069 #4F00A6

Accessibility & contrast

On white

19.66
#15002C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#15002C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15002C
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15002C#FFFFFF#000000##FFFFFF
##15002C1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#000B2B
Tritanopia (blue-blind)
#0F0A15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #15002c;
/* rgb */ color: rgb(21, 0, 44);
/* oklch */ color: oklch(16.2% 0.086 300.5);
Tailwind
colors: {
  custom: {
    50: '#534665',
    500: '#15002c',
    950: '#000000',
  },
}
SCSS
$custom: #15002c;
$custom-light: #534665;
$custom-dark: #000000;
JSON
{
  "hex": "#15002c",
  "rgb": {
    "r": 21,
    "g": 0,
    "b": 44
  },
  "hsl": {
    "h": 268.636,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16241,
    "c": 0.08647,
    "h": 300.5
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#15002C
secondary
#467314
accent
#FF2999
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#030005
muted
#78777A

Preview Lab

Preview with #15002C

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

Preview Lab → · Contrast checker → · Palette generator →

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