#150326#150326

#150326 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.3% C 0.072 H 304.1°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#150326
RGBrgb(21, 3, 38)
HSLhsl(271, 85%, 8%)
HSVhsv(271, 92%, 15%)
CMYKcmyk(44.7%, 92.1%, 0%, 85.1%)
CIE-LABlab(3.29, 14.14, -18.31)
CIE-LCHlch(3.29, 23.14, 307.67°)
OKLaboklab(16.29% 0.0401 -0.0593)
OKLCHoklch(16.29% 0.072 304.1)
XYZxyz(0.6916, 0.3645, 1.8673)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150326 #142603
analogous
#030326 #150326 #260325
triadic
#150326 #261503 #032615
tetradic
#150326 #260303 #142603 #032526
square
#150326 #260303 #142603 #032526
split-complementary
#150326 #252603 #032603
monochromatic
#10021C #10021C #150326 #34075F #540C97

Accessibility & contrast

On white

19.57
#150326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#150326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150326
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150326#FFFFFF#000000##FFFFFF
##1503261.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B27
Deuteranopia (green-blind)
#000C25
Tritanopia (blue-blind)
#120A13
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #150326;
/* rgb */ color: rgb(21, 3, 38);
/* oklch */ color: oklch(16.3% 0.072 304.1);
Tailwind
colors: {
  custom: {
    50: '#524860',
    500: '#150326',
    950: '#000000',
  },
}
SCSS
$custom: #150326;
$custom-light: #524860;
$custom-dark: #000000;
JSON
{
  "hex": "#150326",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 270.857,
    "s": 85.366,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16294,
    "c": 0.07156,
    "h": 304.1
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#150326
secondary
#416A1B
accent
#FC2C91
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #150326

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

Preview Lab → · Contrast checker → · Palette generator →

#150326 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva