#150A45#150A45

#150A45 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.102 H 281.7°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#150A45
RGBrgb(21, 10, 69)
HSLhsl(251, 75%, 15%)
HSVhsv(251, 86%, 27%)
CMYKcmyk(69.6%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.28, 24.83, -34.70)
CIE-LCHlch(7.28, 42.67, 305.58°)
OKLaboklab(21.16% 0.0207 -0.1002)
OKLCHoklch(21.16% 0.102 281.7)
XYZxyz(1.4916, 0.8061, 5.7061)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A45 #3A450A
analogous
#0A1D45 #150A45 #320A45
triadic
#150A45 #45150A #0A4515
tetradic
#150A45 #450A1D #3A450A #0A4532
square
#150A45 #450A1D #3A450A #0A4532
split-complementary
#150A45 #45320A #1D450A
monochromatic
#08041B #08041B #150A45 #25127A #3619B0

Accessibility & contrast

On white

18.08
#150A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A45
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A45#FFFFFF#000000##FFFFFF
##150A451.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150a45;
/* rgb */ color: rgb(21, 10, 69);
/* oklch */ color: oklch(21.2% 0.102 281.7);
Tailwind
colors: {
  custom: {
    50: '#5a4b79',
    500: '#150a45',
    950: '#000000',
  },
}
SCSS
$custom: #150a45;
$custom-light: #5a4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#150a45",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 251.186,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21157,
    "c": 0.10234,
    "h": 281.7
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#150A45
secondary
#718229
accent
#F136CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150A45

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

Preview Lab → · Contrast checker → · Palette generator →

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