#150A39#150A39

#150A39 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.085 H 286.5°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#150A39
RGBrgb(21, 10, 57)
HSLhsl(254, 70%, 13%)
HSVhsv(254, 82%, 22%)
CMYKcmyk(63.2%, 82.5%, 0%, 77.6%)
CIE-LABlab(6.07, 19.86, -28.10)
CIE-LCHlch(6.07, 34.41, 305.26°)
OKLaboklab(19.77% 0.0241 -0.0817)
OKLCHoklch(19.77% 0.085 286.5)
XYZxyz(1.1561, 0.6719, 3.9389)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A39 #2E390A
analogous
#0A1639 #150A39 #2C0A39
triadic
#150A39 #39150A #0A3915
tetradic
#150A39 #390A16 #2E390A #0A392C
square
#150A39 #390A16 #2E390A #0A392C
split-complementary
#150A39 #392C0A #16390A
monochromatic
#0A051A #0A051A #150A39 #28136D #3B1CA1

Accessibility & contrast

On white

18.51
#150A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A39
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A39#FFFFFF#000000##FFFFFF
##150A391.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#061620
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150a39;
/* rgb */ color: rgb(21, 10, 57);
/* oklch */ color: oklch(19.8% 0.085 286.5);
Tailwind
colors: {
  custom: {
    50: '#574a70',
    500: '#150a39',
    950: '#000000',
  },
}
SCSS
$custom: #150a39;
$custom-light: #574a70;
$custom-dark: #000000;
JSON
{
  "hex": "#150a39",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 254.043,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19774,
    "c": 0.08518,
    "h": 286.5
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#150A39
secondary
#647628
accent
#ED3BC3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150A39

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

Preview Lab → · Contrast checker → · Palette generator →

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