#150A4A#150A4A

#150A4A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.109 H 280.1°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#150A4A
RGBrgb(21, 10, 74)
HSLhsl(250, 76%, 16%)
HSVhsv(250, 86%, 29%)
CMYKcmyk(71.6%, 86.5%, 0%, 71%)
CIE-LABlab(7.87, 26.68, -37.25)
CIE-LCHlch(7.87, 45.82, 305.62°)
OKLaboklab(21.76% 0.0191 -0.1075)
OKLCHoklch(21.76% 0.109 280.1)
XYZxyz(1.6534, 0.8708, 6.5582)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A4A #3F4A0A
analogous
#0A1F4A #150A4A #350A4A
triadic
#150A4A #4A150A #0A4A15
tetradic
#150A4A #4A0A1F #3F4A0A #0A4A35
square
#150A4A #4A0A1F #3F4A0A #0A4A35
split-complementary
#150A4A #4A350A #1F4A0A
monochromatic
#08041B #08041B #150A4A #241180 #3419B6

Accessibility & contrast

On white

17.88
#150A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A4A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A4A#FFFFFF#000000##FFFFFF
##150A4A1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150a4a;
/* rgb */ color: rgb(21, 10, 74);
/* oklch */ color: oklch(21.8% 0.109 280.1);
Tailwind
colors: {
  custom: {
    50: '#5c4b7d',
    500: '#150a4a',
    950: '#000000',
  },
}
SCSS
$custom: #150a4a;
$custom-light: #5c4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150a4a",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 250.313,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21762,
    "c": 0.10923,
    "h": 280.1
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#150A4A
secondary
#778729
accent
#F335D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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