#15062F#15062F

#15062F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.077 H 294.4°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#15062F
RGBrgb(21, 6, 47)
HSLhsl(262, 77%, 10%)
HSVhsv(262, 87%, 18%)
CMYKcmyk(55.3%, 87.2%, 0%, 81.6%)
CIE-LABlab(4.47, 17.05, -23.30)
CIE-LCHlch(4.47, 28.87, 306.19°)
OKLaboklab(17.94% 0.0318 -0.0702)
OKLCHoklch(17.94% 0.077 294.4)
XYZxyz(0.8873, 0.4949, 2.7375)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15062F #202F06
analogous
#060C2F #15062F #29062F
triadic
#15062F #2F1506 #062F15
tetradic
#15062F #2F060C #202F06 #062F29
square
#15062F #2F060C #202F06 #062F29
split-complementary
#15062F #2F2906 #0C2F06
monochromatic
#0C031B #0C031B #15062F #2D0D65 #45149C

Accessibility & contrast

On white

19.11
#15062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#15062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15062F
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15062F#FFFFFF#000000##FFFFFF
##15062F1.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#0D1019
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #15062f;
/* rgb */ color: rgb(21, 6, 47);
/* oklch */ color: oklch(17.9% 0.077 294.4);
Tailwind
colors: {
  custom: {
    50: '#544968',
    500: '#15062f',
    950: '#000000',
  },
}
SCSS
$custom: #15062f;
$custom-light: #544968;
$custom-dark: #000000;
JSON
{
  "hex": "#15062f",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 261.951,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17938,
    "c": 0.07709,
    "h": 294.4
  },
  "luminance": 0.00495
}

Semantic roles & 50–950 ramp

primary
#15062F
secondary
#537021
accent
#F434AE
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15062F

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

Preview Lab → · Contrast checker → · Palette generator →

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