#150A44#150A44

#150A44 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.101 H 282.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#150A44
RGBrgb(21, 10, 68)
HSLhsl(251, 74%, 15%)
HSVhsv(251, 85%, 27%)
CMYKcmyk(69.1%, 85.3%, 0%, 73.3%)
CIE-LABlab(7.17, 24.44, -34.18)
CIE-LCHlch(7.17, 42.02, 305.57°)
OKLaboklab(21.04% 0.021 -0.0987)
OKLCHoklch(21.04% 0.101 282)
XYZxyz(1.4609, 0.7938, 5.5440)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A44 #39440A
analogous
#0A1C44 #150A44 #320A44
triadic
#150A44 #44150A #0A4415
tetradic
#150A44 #440A1C #39440A #0A4432
square
#150A44 #440A1C #39440A #0A4432
split-complementary
#150A44 #44320A #1C440A
monochromatic
#08041B #08041B #150A44 #251279 #361AAF

Accessibility & contrast

On white

18.12
#150A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A44
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A44#FFFFFF#000000##FFFFFF
##150A441.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001443
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150a44;
/* rgb */ color: rgb(21, 10, 68);
/* oklch */ color: oklch(21.0% 0.101 282.0);
Tailwind
colors: {
  custom: {
    50: '#5a4a79',
    500: '#150a44',
    950: '#000000',
  },
}
SCSS
$custom: #150a44;
$custom-light: #5a4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#150a44",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 251.379,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21037,
    "c": 0.10095,
    "h": 282
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#150A44
secondary
#708129
accent
#F137CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150A44

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

Preview Lab → · Contrast checker → · Palette generator →

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