#150943#150943

#150943 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.101 H 282.7°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#150943
RGBrgb(21, 9, 67)
HSLhsl(252, 76%, 15%)
HSVhsv(252, 87%, 26%)
CMYKcmyk(68.7%, 86.6%, 0%, 73.7%)
CIE-LABlab(6.87, 24.58, -33.97)
CIE-LCHlch(6.87, 41.93, 305.89°)
OKLaboklab(20.77% 0.0222 -0.0983)
OKLCHoklch(20.77% 0.101 282.7)
XYZxyz(1.4198, 0.7600, 5.3810)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150943 #374309
analogous
#091A43 #150943 #320943
triadic
#150943 #431509 #094315
tetradic
#150943 #43091A #374309 #094332
square
#150943 #43091A #374309 #094332
split-complementary
#150943 #433209 #1A4309
monochromatic
#08041B #08041B #150943 #261079 #3717AF

Accessibility & contrast

On white

18.23
#150943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150943
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150943#FFFFFF#000000##FFFFFF
##1509431.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150943;
/* rgb */ color: rgb(21, 9, 67);
/* oklch */ color: oklch(20.8% 0.101 282.7);
Tailwind
colors: {
  custom: {
    50: '#5a4a78',
    500: '#150943',
    950: '#000000',
  },
}
SCSS
$custom: #150943;
$custom-light: #5a4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#150943",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 252.414,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20768,
    "c": 0.10073,
    "h": 282.7
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#150943
secondary
#6E8127
accent
#F335CC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150943

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

Preview Lab → · Contrast checker → · Palette generator →

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