#150B33#150B33

#150B33 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.075 H 288.9°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#150B33
RGBrgb(21, 11, 51)
HSLhsl(255, 65%, 12%)
HSVhsv(255, 78%, 20%)
CMYKcmyk(58.8%, 78.4%, 0%, 80%)
CIE-LABlab(5.76, 16.72, -24.20)
CIE-LCHlch(5.76, 29.42, 304.63°)
OKLaboklab(19.31% 0.0242 -0.0706)
OKLCHoklch(19.31% 0.075 288.9)
XYZxyz(1.0263, 0.6377, 3.2003)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B33 #29330B
analogous
#0B1533 #150B33 #290B33
triadic
#150B33 #33150B #0B3315
tetradic
#150B33 #330B15 #29330B #0B3329
square
#150B33 #330B15 #29330B #0B3329
split-complementary
#150B33 #33290B #15330B
monochromatic
#0A0519 #0A0519 #150B33 #2A1665 #3E2198

Accessibility & contrast

On white

18.62
#150B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B33
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B33#FFFFFF#000000##FFFFFF
##150B331.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#0B151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150b33;
/* rgb */ color: rgb(21, 11, 51);
/* oklch */ color: oklch(19.3% 0.075 288.9);
Tailwind
colors: {
  custom: {
    50: '#554b6b',
    500: '#150b33',
    950: '#000000',
  },
}
SCSS
$custom: #150b33;
$custom-light: #554b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#150b33",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 255,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19311,
    "c": 0.07465,
    "h": 288.9
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#150B33
secondary
#5E702A
accent
#E840BE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B33

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

Preview Lab → · Contrast checker → · Palette generator →

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