#150740#150740

#150740 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.099 H 284.5°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#150740
RGBrgb(21, 7, 64)
HSLhsl(255, 80%, 14%)
HSVhsv(255, 89%, 25%)
CMYKcmyk(67.2%, 89.1%, 0%, 74.9%)
CIE-LABlab(6.16, 24.39, -33.00)
CIE-LCHlch(6.16, 41.03, 306.47°)
OKLaboklab(20.09% 0.0249 -0.0959)
OKLCHoklch(20.09% 0.099 284.5)
XYZxyz(1.3104, 0.6815, 4.9120)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150740 #324007
analogous
#071640 #150740 #320740
triadic
#150740 #401507 #074015
tetradic
#150740 #400716 #324007 #074032
square
#150740 #400716 #324007 #074032
split-complementary
#150740 #403207 #164007
monochromatic
#09031C #09031C #150740 #270D77 #3913AE

Accessibility & contrast

On white

18.48
#150740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150740
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150740#FFFFFF#000000##FFFFFF
##1507401.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150740;
/* rgb */ color: rgb(21, 7, 64);
/* oklch */ color: oklch(20.1% 0.099 284.5);
Tailwind
colors: {
  custom: {
    50: '#594975',
    500: '#150740',
    950: '#000000',
  },
}
SCSS
$custom: #150740;
$custom-light: #594975;
$custom-dark: #000000;
JSON
{
  "hex": "#150740",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 254.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20092,
    "c": 0.09909,
    "h": 284.5
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#150740
secondary
#697F24
accent
#F731C6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150740

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

Preview Lab → · Contrast checker → · Palette generator →

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