#150B43#150B43

#150B43 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.098 H 282.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#150B43
RGBrgb(21, 11, 67)
HSLhsl(251, 72%, 15%)
HSVhsv(251, 84%, 26%)
CMYKcmyk(68.7%, 83.6%, 0%, 73.7%)
CIE-LABlab(7.26, 23.50, -33.32)
CIE-LCHlch(7.26, 40.78, 305.20°)
OKLaboklab(21.07% 0.0206 -0.0962)
OKLCHoklch(21.07% 0.098 282.1)
XYZxyz(1.4417, 0.8039, 5.3883)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B43 #39430B
analogous
#0B1D43 #150B43 #310B43
triadic
#150B43 #43150B #0B4315
tetradic
#150B43 #430B1D #39430B #0B4331
square
#150B43 #430B1D #39430B #0B4331
split-complementary
#150B43 #43310B #1D430B
monochromatic
#08041A #08041A #150B43 #251478 #361CAC

Accessibility & contrast

On white

18.09
#150B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B43
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B43#FFFFFF#000000##FFFFFF
##150B431.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150b43;
/* rgb */ color: rgb(21, 11, 67);
/* oklch */ color: oklch(21.1% 0.098 282.1);
Tailwind
colors: {
  custom: {
    50: '#5a4b78',
    500: '#150b43',
    950: '#000000',
  },
}
SCSS
$custom: #150b43;
$custom-light: #5a4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#150b43",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 250.714,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21071,
    "c": 0.09837,
    "h": 282.1
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#150B43
secondary
#70802A
accent
#EF39CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150B43

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

Preview Lab → · Contrast checker → · Palette generator →

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