#150B36#150B36

#150B36 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.079 H 287.4°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#150B36
RGBrgb(21, 11, 54)
HSLhsl(254, 66%, 13%)
HSVhsv(254, 80%, 21%)
CMYKcmyk(61.1%, 79.6%, 0%, 78.8%)
CIE-LABlab(6.01, 18.05, -26.01)
CIE-LCHlch(6.01, 31.66, 304.76°)
OKLaboklab(19.62% 0.0237 -0.0756)
OKLCHoklch(19.62% 0.079 287.4)
XYZxyz(1.0946, 0.6651, 3.5600)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B36 #2C360B
analogous
#0B1736 #150B36 #2A0B36
triadic
#150B36 #36150B #0B3615
tetradic
#150B36 #360B17 #2C360B #0B362A
square
#150B36 #360B17 #2C360B #0B362A
split-complementary
#150B36 #362A0B #17360B
monochromatic
#0A0519 #0A0519 #150B36 #291569 #3D209C

Accessibility & contrast

On white

18.53
#150B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B36
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B36#FFFFFF#000000##FFFFFF
##150B361.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#08161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150b36;
/* rgb */ color: rgb(21, 11, 54);
/* oklch */ color: oklch(19.6% 0.079 287.4);
Tailwind
colors: {
  custom: {
    50: '#564b6d',
    500: '#150b36',
    950: '#000000',
  },
}
SCSS
$custom: #150b36;
$custom-light: #564b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#150b36",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 253.953,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19624,
    "c": 0.07925,
    "h": 287.4
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#150B36
secondary
#62732A
accent
#E93FC1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150B36

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

Preview Lab → · Contrast checker → · Palette generator →

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