#150A36#150A36

#150A36 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.081 H 287.9°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#150A36
RGBrgb(21, 10, 54)
HSLhsl(255, 69%, 13%)
HSVhsv(255, 81%, 21%)
CMYKcmyk(61.1%, 81.5%, 0%, 78.8%)
CIE-LABlab(5.81, 18.54, -26.33)
CIE-LCHlch(5.81, 32.20, 305.14°)
OKLaboklab(19.45% 0.0248 -0.0768)
OKLCHoklch(19.45% 0.081 287.9)
XYZxyz(1.0835, 0.6428, 3.5563)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A36 #2B360A
analogous
#0A1536 #150A36 #2B0A36
triadic
#150A36 #36150A #0A3615
tetradic
#150A36 #360A15 #2B360A #0A362B
square
#150A36 #360A15 #2B360A #0A362B
split-complementary
#150A36 #362B0A #15360A
monochromatic
#0A051A #0A051A #150A36 #29146A #3D1D9D

Accessibility & contrast

On white

18.61
#150A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A36
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A36#FFFFFF#000000##FFFFFF
##150A361.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150a36;
/* rgb */ color: rgb(21, 10, 54);
/* oklch */ color: oklch(19.4% 0.081 287.9);
Tailwind
colors: {
  custom: {
    50: '#564a6d',
    500: '#150a36',
    950: '#000000',
  },
}
SCSS
$custom: #150a36;
$custom-light: #564a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#150a36",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 255,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19447,
    "c": 0.08072,
    "h": 287.9
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#150A36
secondary
#617328
accent
#EC3CC0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150A36

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

Preview Lab → · Contrast checker → · Palette generator →

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