#150537#150537

#150537 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.090 H 289.8°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#150537
RGBrgb(21, 5, 55)
HSLhsl(259, 83%, 12%)
HSVhsv(259, 91%, 22%)
CMYKcmyk(61.8%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.91, 21.32, -28.51)
CIE-LCHlch(4.91, 35.60, 306.79°)
OKLaboklab(18.66% 0.0304 -0.0845)
OKLCHoklch(18.66% 0.09 289.8)
XYZxyz(1.0529, 0.5438, 3.6632)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150537 #273705
analogous
#050E37 #150537 #2E0537
triadic
#150537 #371505 #053715
tetradic
#150537 #37050E #273705 #05372E
square
#150537 #37050E #273705 #05372E
split-complementary
#150537 #372E05 #0E3705
monochromatic
#0B031C #0B031C #150537 #2A0A6F #400FA7

Accessibility & contrast

On white

18.94
#150537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#150537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150537
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150537#FFFFFF#000000##FFFFFF
##1505371.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#08131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150537;
/* rgb */ color: rgb(21, 5, 55);
/* oklch */ color: oklch(18.7% 0.090 289.8);
Tailwind
colors: {
  custom: {
    50: '#56486e',
    500: '#150537',
    950: '#000000',
  },
}
SCSS
$custom: #150537;
$custom-light: #56486e;
$custom-dark: #000000;
JSON
{
  "hex": "#150537",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 259.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18657,
    "c": 0.08984,
    "h": 289.8
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#150537
secondary
#5C7820
accent
#FA2EB9
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150537

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

Preview Lab → · Contrast checker → · Palette generator →

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