#150741#150741

#150741 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.100 H 284.1°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#150741
RGBrgb(21, 7, 65)
HSLhsl(254, 81%, 14%)
HSVhsv(254, 89%, 25%)
CMYKcmyk(67.7%, 89.2%, 0%, 74.5%)
CIE-LABlab(6.26, 24.81, -33.54)
CIE-LCHlch(6.26, 41.72, 306.49°)
OKLaboklab(20.21% 0.0245 -0.0974)
OKLCHoklch(20.21% 0.1 284.1)
XYZxyz(1.3391, 0.6930, 5.0632)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150741 #334107
analogous
#071641 #150741 #320741
triadic
#150741 #411507 #074115
tetradic
#150741 #410716 #334107 #074132
square
#150741 #410716 #334107 #074132
split-complementary
#150741 #413207 #164107
monochromatic
#09031C #09031C #150741 #270D78 #3913B0

Accessibility & contrast

On white

18.44
#150741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150741
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150741#FFFFFF#000000##FFFFFF
##1507411.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150741;
/* rgb */ color: rgb(21, 7, 65);
/* oklch */ color: oklch(20.2% 0.100 284.1);
Tailwind
colors: {
  custom: {
    50: '#594976',
    500: '#150741',
    950: '#000000',
  },
}
SCSS
$custom: #150741;
$custom-light: #594976;
$custom-dark: #000000;
JSON
{
  "hex": "#150741",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 254.483,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20214,
    "c": 0.10044,
    "h": 284.1
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#150741
secondary
#6A8024
accent
#F731C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150741

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

Preview Lab → · Contrast checker → · Palette generator →

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