#150B2E#150B2E

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

Color values

HEX#150B2E
RGBrgb(21, 11, 46)
HSLhsl(257, 61%, 11%)
HSVhsv(257, 76%, 18%)
CMYKcmyk(54.3%, 76.1%, 0%, 82%)
CIE-LABlab(5.38, 14.46, -21.10)
CIE-LCHlch(5.38, 25.58, 304.43°)
OKLaboklab(18.81% 0.0249 -0.062)
OKLCHoklch(18.81% 0.067 291.9)
XYZxyz(0.9219, 0.5960, 2.6507)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B2E #242E0B
analogous
#0B122E #150B2E #260B2E
triadic
#150B2E #2E150B #0B2E15
tetradic
#150B2E #2E0B12 #242E0B #0B2E26
square
#150B2E #2E0B12 #242E0B #0B2E26
split-complementary
#150B2E #2E260B #122E0B
monochromatic
#0B0619 #0B0619 #150B2E #2C175F #422391

Accessibility & contrast

On white

18.76
#150B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B2E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B2E#FFFFFF#000000##FFFFFF
##150B2E1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0E131B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150b2e;
/* rgb */ color: rgb(21, 11, 46);
/* oklch */ color: oklch(18.8% 0.067 291.9);
Tailwind
colors: {
  custom: {
    50: '#544b67',
    500: '#150b2e',
    950: '#000000',
  },
}
SCSS
$custom: #150b2e;
$custom-light: #544b67;
$custom-dark: #000000;
JSON
{
  "hex": "#150b2e",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 257.143,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18813,
    "c": 0.0668,
    "h": 291.9
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#150B2E
secondary
#586A2A
accent
#E543B6
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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