#150C3B#150C3B

#150C3B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.085 H 284.6°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#150C3B
RGBrgb(21, 12, 59)
HSLhsl(251, 66%, 14%)
HSVhsv(251, 80%, 23%)
CMYKcmyk(64.4%, 79.7%, 0%, 76.9%)
CIE-LABlab(6.67, 19.68, -28.57)
CIE-LCHlch(6.67, 34.70, 304.56°)
OKLaboklab(20.34% 0.0216 -0.0826)
OKLCHoklch(20.34% 0.085 284.6)
XYZxyz(1.2299, 0.7381, 4.2145)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C3B #323B0C
analogous
#0C1B3B #150C3B #2D0C3B
triadic
#150C3B #3B150C #0C3B15
tetradic
#150C3B #3B0C1B #323B0C #0C3B2D
square
#150C3B #3B0C1B #323B0C #0C3B2D
split-complementary
#150C3B #3B2D0C #1B3B0C
monochromatic
#090519 #090519 #150C3B #27166E #3921A1

Accessibility & contrast

On white

18.30
#150C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C3B
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C3B#FFFFFF#000000##FFFFFF
##150C3B1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#041822
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150c3b;
/* rgb */ color: rgb(21, 12, 59);
/* oklch */ color: oklch(20.3% 0.085 284.6);
Tailwind
colors: {
  custom: {
    50: '#574b71',
    500: '#150c3b',
    950: '#000000',
  },
}
SCSS
$custom: #150c3b;
$custom-light: #574b71;
$custom-dark: #000000;
JSON
{
  "hex": "#150c3b",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 251.489,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20337,
    "c": 0.08537,
    "h": 284.6
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#150C3B
secondary
#69772C
accent
#E93FC8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #150C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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