#150944#150944

#150944 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.102 H 282.3°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#150944
RGBrgb(21, 9, 68)
HSLhsl(252, 77%, 15%)
HSVhsv(252, 87%, 27%)
CMYKcmyk(69.1%, 86.8%, 0%, 73.3%)
CIE-LABlab(6.97, 24.98, -34.50)
CIE-LCHlch(6.97, 42.59, 305.91°)
OKLaboklab(20.89% 0.0218 -0.0997)
OKLCHoklch(20.89% 0.102 282.3)
XYZxyz(1.4500, 0.7721, 5.5403)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150944 #384409
analogous
#091B44 #150944 #320944
triadic
#150944 #441509 #094415
tetradic
#150944 #44091B #384409 #094432
square
#150944 #44091B #384409 #094432
split-complementary
#150944 #443209 #1B4409
monochromatic
#08041B #08041B #150944 #26107A #3617B0

Accessibility & contrast

On white

18.19
#150944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150944
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150944#FFFFFF#000000##FFFFFF
##1509441.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150944;
/* rgb */ color: rgb(21, 9, 68);
/* oklch */ color: oklch(20.9% 0.102 282.3);
Tailwind
colors: {
  custom: {
    50: '#5a4a79',
    500: '#150944',
    950: '#000000',
  },
}
SCSS
$custom: #150944;
$custom-light: #5a4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#150944",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 252.203,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20888,
    "c": 0.1021,
    "h": 282.3
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#150944
secondary
#6F8227
accent
#F335CC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150944

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

Preview Lab → · Contrast checker → · Palette generator →

#150944 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva