#150941#150941

#150941 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.098 H 283.5°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#150941
RGBrgb(21, 9, 65)
HSLhsl(253, 76%, 15%)
HSVhsv(253, 86%, 25%)
CMYKcmyk(67.7%, 86.2%, 0%, 74.5%)
CIE-LABlab(6.65, 23.77, -32.90)
CIE-LCHlch(6.65, 40.59, 305.85°)
OKLaboklab(20.53% 0.0228 -0.0952)
OKLCHoklch(20.53% 0.098 283.5)
XYZxyz(1.3608, 0.7364, 5.0704)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150941 #354109
analogous
#091941 #150941 #310941
triadic
#150941 #411509 #094115
tetradic
#150941 #410919 #354109 #094131
square
#150941 #410919 #354109 #094131
split-complementary
#150941 #413109 #194109
monochromatic
#09041B #09041B #150941 #261077 #3818AD

Accessibility & contrast

On white

18.31
#150941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150941
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150941#FFFFFF#000000##FFFFFF
##1509411.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150941;
/* rgb */ color: rgb(21, 9, 65);
/* oklch */ color: oklch(20.5% 0.098 283.5);
Tailwind
colors: {
  custom: {
    50: '#594a76',
    500: '#150941',
    950: '#000000',
  },
}
SCSS
$custom: #150941;
$custom-light: #594a76;
$custom-dark: #000000;
JSON
{
  "hex": "#150941",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 252.857,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2053,
    "c": 0.09794,
    "h": 283.5
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#150941
secondary
#6C7F27
accent
#F236CA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150941

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

Preview Lab → · Contrast checker → · Palette generator →

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