#150A37#150A37

#150A37 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.082 H 287.4°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#150A37
RGBrgb(21, 10, 55)
HSLhsl(255, 69%, 13%)
HSVhsv(255, 82%, 22%)
CMYKcmyk(61.8%, 81.8%, 0%, 78.4%)
CIE-LABlab(5.89, 18.98, -26.93)
CIE-LCHlch(5.89, 32.94, 305.18°)
OKLaboklab(19.56% 0.0246 -0.0785)
OKLCHoklch(19.56% 0.082 287.4)
XYZxyz(1.1072, 0.6523, 3.6813)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A37 #2C370A
analogous
#0A1537 #150A37 #2B0A37
triadic
#150A37 #37150A #0A3715
tetradic
#150A37 #370A15 #2C370A #0A372B
square
#150A37 #370A15 #2C370A #0A372B
split-complementary
#150A37 #372B0A #15370A
monochromatic
#0A051A #0A051A #150A37 #29136B #3D1D9F

Accessibility & contrast

On white

18.58
#150A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A37
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A37#FFFFFF#000000##FFFFFF
##150A371.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#08161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150a37;
/* rgb */ color: rgb(21, 10, 55);
/* oklch */ color: oklch(19.6% 0.082 287.4);
Tailwind
colors: {
  custom: {
    50: '#564a6e',
    500: '#150a37',
    950: '#000000',
  },
}
SCSS
$custom: #150a37;
$custom-light: #564a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#150a37",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 254.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19555,
    "c": 0.08222,
    "h": 287.4
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#150A37
secondary
#627428
accent
#EC3CC1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150A37

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

Preview Lab → · Contrast checker → · Palette generator →

#150A37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva