#150C2C#150C2C

#150C2C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.062 H 292.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#150C2C
RGBrgb(21, 12, 44)
HSLhsl(257, 57%, 11%)
HSVhsv(257, 73%, 17%)
CMYKcmyk(52.3%, 72.7%, 0%, 82.7%)
CIE-LABlab(5.46, 13.10, -19.48)
CIE-LCHlch(5.46, 23.48, 303.92°)
OKLaboklab(18.83% 0.0236 -0.0571)
OKLCHoklch(18.83% 0.062 292.4)
XYZxyz(0.8952, 0.6042, 2.4518)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C2C #232C0C
analogous
#0C132C #150C2C #250C2C
triadic
#150C2C #2C150C #0C2C15
tetradic
#150C2C #2C0C13 #232C0C #0C2C25
square
#150C2C #2C0C13 #232C0C #0C2C25
split-complementary
#150C2C #2C250C #132C0C
monochromatic
#0B0718 #0B0718 #150C2C #2C195C #43268C

Accessibility & contrast

On white

18.74
#150C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C2C
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C2C#FFFFFF#000000##FFFFFF
##150C2C1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#01112B
Tritanopia (blue-blind)
#0F131A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150c2c;
/* rgb */ color: rgb(21, 12, 44);
/* oklch */ color: oklch(18.8% 0.062 292.4);
Tailwind
colors: {
  custom: {
    50: '#544c65',
    500: '#150c2c',
    950: '#000000',
  },
}
SCSS
$custom: #150c2c;
$custom-light: #544c65;
$custom-dark: #000000;
JSON
{
  "hex": "#150c2c",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 256.875,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18826,
    "c": 0.0618,
    "h": 292.4
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#150C2C
secondary
#57672C
accent
#E047B5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #150C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#150C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva