#150A46#150A46

#150A46 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.104 H 281.4°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#150A46
RGBrgb(21, 10, 70)
HSLhsl(251, 75%, 16%)
HSVhsv(251, 86%, 27%)
CMYKcmyk(70%, 85.7%, 0%, 72.5%)
CIE-LABlab(7.39, 25.21, -35.22)
CIE-LCHlch(7.39, 43.32, 305.60°)
OKLaboklab(21.28% 0.0204 -0.1017)
OKLCHoklch(21.28% 0.104 281.4)
XYZxyz(1.5229, 0.8186, 5.8709)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A46 #3B460A
analogous
#0A1D46 #150A46 #330A46
triadic
#150A46 #46150A #0A4615
tetradic
#150A46 #460A1D #3B460A #0A4633
square
#150A46 #460A1D #3B460A #0A4633
split-complementary
#150A46 #46330A #1D460A
monochromatic
#08041B #08041B #150A46 #25127C #3519B1

Accessibility & contrast

On white

18.04
#150A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A46
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A46#FFFFFF#000000##FFFFFF
##150A461.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150a46;
/* rgb */ color: rgb(21, 10, 70);
/* oklch */ color: oklch(21.3% 0.104 281.4);
Tailwind
colors: {
  custom: {
    50: '#5b4b7a',
    500: '#150a46',
    950: '#000000',
  },
}
SCSS
$custom: #150a46;
$custom-light: #5b4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#150a46",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 251,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21276,
    "c": 0.10373,
    "h": 281.4
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#150A46
secondary
#728329
accent
#F236CF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150A46

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

Preview Lab → · Contrast checker → · Palette generator →

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