#150440#150440

#150440 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.103 H 285.6°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#150440
RGBrgb(21, 4, 64)
HSLhsl(257, 88%, 13%)
HSVhsv(257, 94%, 25%)
CMYKcmyk(67.2%, 93.8%, 0%, 74.9%)
CIE-LABlab(5.57, 25.93, -33.96)
CIE-LCHlch(5.57, 42.73, 307.36°)
OKLaboklab(19.59% 0.0277 -0.0993)
OKLCHoklch(19.59% 0.103 285.6)
XYZxyz(1.2778, 0.6163, 4.9011)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150440 #2F4004
analogous
#041140 #150440 #330440
triadic
#150440 #401504 #044015
tetradic
#150440 #400411 #2F4004 #044033
square
#150440 #400411 #2F4004 #044033
split-complementary
#150440 #403304 #114004
monochromatic
#09021D #09021D #150440 #28087A #3B0BB3

Accessibility & contrast

On white

18.70
#150440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150440
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150440#FFFFFF#000000##FFFFFF
##1504401.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#011623
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150440;
/* rgb */ color: rgb(21, 4, 64);
/* oklch */ color: oklch(19.6% 0.103 285.6);
Tailwind
colors: {
  custom: {
    50: '#594776',
    500: '#150440',
    950: '#000000',
  },
}
SCSS
$custom: #150440;
$custom-light: #594776;
$custom-dark: #000000;
JSON
{
  "hex": "#150440",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 257,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19593,
    "c": 0.10312,
    "h": 285.6
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#150440
secondary
#65811F
accent
#FE29C2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #150440

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

Preview Lab → · Contrast checker → · Palette generator →

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