#150A3B#150A3B

#150A3B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.088 H 285.6°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#150A3B
RGBrgb(21, 10, 59)
HSLhsl(253, 71%, 14%)
HSVhsv(253, 83%, 23%)
CMYKcmyk(64.4%, 83.1%, 0%, 76.9%)
CIE-LABlab(6.25, 20.74, -29.25)
CIE-LCHlch(6.25, 35.85, 305.34°)
OKLaboklab(20% 0.0236 -0.0849)
OKLCHoklch(20% 0.088 285.6)
XYZxyz(1.2070, 0.6922, 4.2068)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A3B #303B0A
analogous
#0A173B #150A3B #2D0A3B
triadic
#150A3B #3B150A #0A3B15
tetradic
#150A3B #3B0A17 #303B0A #0A3B2D
square
#150A3B #3B0A17 #303B0A #0A3B2D
split-complementary
#150A3B #3B2D0A #173B0A
monochromatic
#09041A #09041A #150A3B #28136F #3A1CA4

Accessibility & contrast

On white

18.45
#150A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A3B
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A3B#FFFFFF#000000##FFFFFF
##150A3B1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#041721
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150a3b;
/* rgb */ color: rgb(21, 10, 59);
/* oklch */ color: oklch(20.0% 0.088 285.6);
Tailwind
colors: {
  custom: {
    50: '#584a71',
    500: '#150a3b',
    950: '#000000',
  },
}
SCSS
$custom: #150a3b;
$custom-light: #584a71;
$custom-dark: #000000;
JSON
{
  "hex": "#150a3b",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 253.469,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.08811,
    "h": 285.6
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#150A3B
secondary
#667828
accent
#EE3AC5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #150A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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