#150738#150738

#150738 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.088 H 288.3°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#150738
RGBrgb(21, 7, 56)
HSLhsl(257, 78%, 12%)
HSVhsv(257, 88%, 22%)
CMYKcmyk(62.5%, 87.5%, 0%, 78%)
CIE-LABlab(5.39, 20.85, -28.46)
CIE-LCHlch(5.39, 35.28, 306.22°)
OKLaboklab(19.14% 0.0277 -0.0836)
OKLCHoklch(19.14% 0.088 288.3)
XYZxyz(1.0988, 0.5969, 3.7979)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150738 #2A3807
analogous
#071138 #150738 #2E0738
triadic
#150738 #381507 #073815
tetradic
#150738 #380711 #2A3807 #07382E
square
#150738 #380711 #2A3807 #07382E
split-complementary
#150738 #382E07 #113807
monochromatic
#0A031B #0A031B #150738 #290E6E #3E15A5

Accessibility & contrast

On white

18.76
#150738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150738
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150738#FFFFFF#000000##FFFFFF
##1507381.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#07141F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150738;
/* rgb */ color: rgb(21, 7, 56);
/* oklch */ color: oklch(19.1% 0.088 288.3);
Tailwind
colors: {
  custom: {
    50: '#57496f',
    500: '#150738',
    950: '#000000',
  },
}
SCSS
$custom: #150738;
$custom-light: #57496f;
$custom-dark: #000000;
JSON
{
  "hex": "#150738",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 257.143,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19142,
    "c": 0.08807,
    "h": 288.3
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#150738
secondary
#5F7823
accent
#F434BD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150738

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

Preview Lab → · Contrast checker → · Palette generator →

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