#150844#150844

#150844 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.103 H 282.6°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#150844
RGBrgb(21, 8, 68)
HSLhsl(253, 79%, 15%)
HSVhsv(253, 88%, 27%)
CMYKcmyk(69.1%, 88.2%, 0%, 73.3%)
CIE-LABlab(6.78, 25.52, -34.82)
CIE-LCHlch(6.78, 43.17, 306.23°)
OKLaboklab(20.74% 0.0226 -0.1008)
OKLCHoklch(20.74% 0.103 282.6)
XYZxyz(1.4392, 0.7503, 5.5367)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150844 #374408
analogous
#081944 #150844 #330844
triadic
#150844 #441508 #084415
tetradic
#150844 #440819 #374408 #084433
square
#150844 #440819 #374408 #084433
split-complementary
#150844 #443308 #194408
monochromatic
#08031B #08031B #150844 #260E7B #3715B2

Accessibility & contrast

On white

18.26
#150844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150844
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150844#FFFFFF#000000##FFFFFF
##1508441.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150844;
/* rgb */ color: rgb(21, 8, 68);
/* oklch */ color: oklch(20.7% 0.103 282.6);
Tailwind
colors: {
  custom: {
    50: '#5a4979',
    500: '#150844',
    950: '#000000',
  },
}
SCSS
$custom: #150844;
$custom-light: #5a4979;
$custom-dark: #000000;
JSON
{
  "hex": "#150844",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 253,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20737,
    "c": 0.10328,
    "h": 282.6
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#150844
secondary
#6E8226
accent
#F532CB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150844

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

Preview Lab → · Contrast checker → · Palette generator →

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