#150B38#150B38

#150B38 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.082 H 286.4°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#150B38
RGBrgb(21, 11, 56)
HSLhsl(253, 67%, 13%)
HSVhsv(253, 80%, 22%)
CMYKcmyk(62.5%, 80.4%, 0%, 78%)
CIE-LABlab(6.18, 18.93, -27.19)
CIE-LCHlch(6.18, 33.13, 304.85°)
OKLaboklab(19.84% 0.0233 -0.0789)
OKLCHoklch(19.84% 0.082 286.4)
XYZxyz(1.1425, 0.6842, 3.8125)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B38 #2E380B
analogous
#0B1738 #150B38 #2B0B38
triadic
#150B38 #38150B #0B3815
tetradic
#150B38 #380B17 #2E380B #0B382B
square
#150B38 #380B17 #2E380B #0B382B
split-complementary
#150B38 #382B0B #17380B
monochromatic
#0A051A #0A051A #150B38 #28156B #3B1F9E

Accessibility & contrast

On white

18.47
#150B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B38
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B38#FFFFFF#000000##FFFFFF
##150B381.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#071720
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150b38;
/* rgb */ color: rgb(21, 11, 56);
/* oklch */ color: oklch(19.8% 0.082 286.4);
Tailwind
colors: {
  custom: {
    50: '#574b6f',
    500: '#150b38',
    950: '#000000',
  },
}
SCSS
$custom: #150b38;
$custom-light: #574b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#150b38",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 253.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19837,
    "c": 0.08228,
    "h": 286.4
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#150B38
secondary
#64752A
accent
#EA3EC4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150B38

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

Preview Lab → · Contrast checker → · Palette generator →

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