#150A2A#150A2A

#150A2A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.062 H 295.4°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#150A2A
RGBrgb(21, 10, 42)
HSLhsl(261, 62%, 10%)
HSVhsv(261, 76%, 16%)
CMYKcmyk(50%, 76.2%, 0%, 83.5%)
CIE-LABlab(4.91, 13.06, -18.84)
CIE-LCHlch(4.91, 22.92, 304.73°)
OKLaboklab(18.24% 0.0267 -0.0562)
OKLCHoklch(18.24% 0.062 295.4)
XYZxyz(0.8356, 0.5437, 2.2510)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A2A #1F2A0A
analogous
#0A0F2A #150A2A #250A2A
triadic
#150A2A #2A150A #0A2A15
tetradic
#150A2A #2A0A0F #1F2A0A #0A2A25
square
#150A2A #2A0A0F #1F2A0A #0A2A25
split-complementary
#150A2A #2A250A #0F2A0A
monochromatic
#0C0619 #0C0619 #150A2A #2E165B #46228D

Accessibility & contrast

On white

18.94
#150A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#150A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A2A
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A2A#FFFFFF#000000##FFFFFF
##150A2A1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#101118
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150a2a;
/* rgb */ color: rgb(21, 10, 42);
/* oklch */ color: oklch(18.2% 0.062 295.4);
Tailwind
colors: {
  custom: {
    50: '#534b63',
    500: '#150a2a',
    950: '#000000',
  },
}
SCSS
$custom: #150a2a;
$custom-light: #534b63;
$custom-dark: #000000;
JSON
{
  "hex": "#150a2a",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 260.625,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18236,
    "c": 0.06218,
    "h": 295.4
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#150A2A
secondary
#526729
accent
#E543AD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #150A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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