#150B37#150B37

#150B37 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.081 H 286.9°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#150B37
RGBrgb(21, 11, 55)
HSLhsl(254, 67%, 13%)
HSVhsv(254, 80%, 22%)
CMYKcmyk(61.8%, 80%, 0%, 78.4%)
CIE-LABlab(6.09, 18.49, -26.60)
CIE-LCHlch(6.09, 32.40, 304.80°)
OKLaboklab(19.73% 0.0235 -0.0773)
OKLCHoklch(19.73% 0.081 286.9)
XYZxyz(1.1183, 0.6746, 3.6850)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B37 #2D370B
analogous
#0B1737 #150B37 #2B0B37
triadic
#150B37 #37150B #0B3715
tetradic
#150B37 #370B17 #2D370B #0B372B
square
#150B37 #370B17 #2D370B #0B372B
split-complementary
#150B37 #372B0B #17370B
monochromatic
#0A051A #0A051A #150B37 #28156A #3C1F9D

Accessibility & contrast

On white

18.50
#150B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B37
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B37#FFFFFF#000000##FFFFFF
##150B371.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150b37;
/* rgb */ color: rgb(21, 11, 55);
/* oklch */ color: oklch(19.7% 0.081 286.9);
Tailwind
colors: {
  custom: {
    50: '#564b6e',
    500: '#150b37',
    950: '#000000',
  },
}
SCSS
$custom: #150b37;
$custom-light: #564b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#150b37",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 253.636,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.1973,
    "c": 0.08077,
    "h": 286.9
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#150B37
secondary
#63742A
accent
#EA3EC3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150B37

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

Preview Lab → · Contrast checker → · Palette generator →

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