#150B2C#150B2C

#150B2C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.064 H 293.2°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#150B2C
RGBrgb(21, 11, 44)
HSLhsl(258, 60%, 11%)
HSVhsv(258, 75%, 17%)
CMYKcmyk(52.3%, 75%, 0%, 82.7%)
CIE-LABlab(5.24, 13.55, -19.82)
CIE-LCHlch(5.24, 24.01, 304.37°)
OKLaboklab(18.62% 0.025 -0.0585)
OKLCHoklch(18.62% 0.064 293.2)
XYZxyz(0.8834, 0.5806, 2.4479)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B2C #222C0B
analogous
#0B112C #150B2C #250B2C
triadic
#150B2C #2C150B #0B2C15
tetradic
#150B2C #2C0B11 #222C0B #0B2C25
square
#150B2C #2C0B11 #222C0B #0B2C25
split-complementary
#150B2C #2C250B #112C0B
monochromatic
#0C0618 #0C0618 #150B2C #2C175D #44238E

Accessibility & contrast

On white

18.81
#150B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B2C
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B2C#FFFFFF#000000##FFFFFF
##150B2C1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#0F1219
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150b2c;
/* rgb */ color: rgb(21, 11, 44);
/* oklch */ color: oklch(18.6% 0.064 293.2);
Tailwind
colors: {
  custom: {
    50: '#544b65',
    500: '#150b2c',
    950: '#000000',
  },
}
SCSS
$custom: #150b2c;
$custom-light: #544b65;
$custom-dark: #000000;
JSON
{
  "hex": "#150b2c",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 258.182,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18622,
    "c": 0.0636,
    "h": 293.2
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#150B2C
secondary
#56682B
accent
#E345B3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #150B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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