#150431#150431

#150431 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.084 H 294.1°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#150431
RGBrgb(21, 4, 49)
HSLhsl(263, 85%, 10%)
HSVhsv(263, 92%, 19%)
CMYKcmyk(57.1%, 91.8%, 0%, 80.8%)
CIE-LABlab(4.23, 18.86, -25.18)
CIE-LCHlch(4.23, 31.46, 306.84°)
OKLaboklab(17.75% 0.0342 -0.0763)
OKLCHoklch(17.75% 0.084 294.1)
XYZxyz(0.9069, 0.4680, 2.9477)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150431 #203104
analogous
#040931 #150431 #2B0431
triadic
#150431 #311504 #043115
tetradic
#150431 #310409 #203104 #04312B
square
#150431 #310409 #203104 #04312B
split-complementary
#150431 #312B04 #093104
monochromatic
#0C021C #0C021C #150431 #2D096A #450DA2

Accessibility & contrast

On white

19.20
#150431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150431
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150431#FFFFFF#000000##FFFFFF
##1504311.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#0C101A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #150431;
/* rgb */ color: rgb(21, 4, 49);
/* oklch */ color: oklch(17.8% 0.084 294.1);
Tailwind
colors: {
  custom: {
    50: '#554869',
    500: '#150431',
    950: '#000000',
  },
}
SCSS
$custom: #150431;
$custom-light: #554869;
$custom-dark: #000000;
JSON
{
  "hex": "#150431",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 262.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17751,
    "c": 0.08364,
    "h": 294.1
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#150431
secondary
#53731D
accent
#FB2DAD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #150431

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

Preview Lab → · Contrast checker → · Palette generator →

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