#15073F#15073F

#15073F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.098 H 285.0°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#15073F
RGBrgb(21, 7, 63)
HSLhsl(255, 80%, 14%)
HSVhsv(255, 89%, 25%)
CMYKcmyk(66.7%, 88.9%, 0%, 75.3%)
CIE-LABlab(6.05, 23.97, -32.45)
CIE-LCHlch(6.05, 40.34, 306.45°)
OKLaboklab(19.97% 0.0253 -0.0944)
OKLCHoklch(19.97% 0.098 285)
XYZxyz(1.2822, 0.6702, 4.7635)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15073F #313F07
analogous
#07153F #15073F #31073F
triadic
#15073F #3F1507 #073F15
tetradic
#15073F #3F0715 #313F07 #073F31
square
#15073F #3F0715 #313F07 #073F31
split-complementary
#15073F #3F3107 #153F07
monochromatic
#09031C #09031C #15073F #270D76 #3A13AD

Accessibility & contrast

On white

18.52
#15073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15073F
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15073F#FFFFFF#000000##FFFFFF
##15073F1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#011723
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #15073f;
/* rgb */ color: rgb(21, 7, 63);
/* oklch */ color: oklch(20.0% 0.098 285.0);
Tailwind
colors: {
  custom: {
    50: '#594975',
    500: '#15073f',
    950: '#000000',
  },
}
SCSS
$custom: #15073f;
$custom-light: #594975;
$custom-dark: #000000;
JSON
{
  "hex": "#15073f",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 255,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.1997,
    "c": 0.09773,
    "h": 285
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#15073F
secondary
#687E24
accent
#F631C5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040108
muted
#79777B

Preview Lab

Preview with #15073F

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

Preview Lab → · Contrast checker → · Palette generator →

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