#150744#150744

#150744 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.104 H 282.9°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#150744
RGBrgb(21, 7, 68)
HSLhsl(254, 81%, 15%)
HSVhsv(254, 90%, 27%)
CMYKcmyk(69.1%, 89.7%, 0%, 73.3%)
CIE-LABlab(6.58, 26.05, -35.15)
CIE-LCHlch(6.58, 43.75, 306.55°)
OKLaboklab(20.58% 0.0234 -0.1018)
OKLCHoklch(20.58% 0.104 282.9)
XYZxyz(1.4283, 0.7286, 5.5331)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150744 #364407
analogous
#071844 #150744 #330744
triadic
#150744 #441507 #074415
tetradic
#150744 #440718 #364407 #074433
square
#150744 #440718 #364407 #074433
split-complementary
#150744 #443307 #184407
monochromatic
#09031C #09031C #150744 #260D7B #3712B3

Accessibility & contrast

On white

18.33
#150744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150744
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150744#FFFFFF#000000##FFFFFF
##1507441.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001646
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001926
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150744;
/* rgb */ color: rgb(21, 7, 68);
/* oklch */ color: oklch(20.6% 0.104 282.9);
Tailwind
colors: {
  custom: {
    50: '#5a4979',
    500: '#150744',
    950: '#000000',
  },
}
SCSS
$custom: #150744;
$custom-light: #5a4979;
$custom-dark: #000000;
JSON
{
  "hex": "#150744",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 253.77,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20584,
    "c": 0.10448,
    "h": 282.9
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#150744
secondary
#6D8324
accent
#F830CA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150744

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

Preview Lab → · Contrast checker → · Palette generator →

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