#150D36#150D36

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

Color values

HEX#150D36
RGBrgb(21, 13, 54)
HSLhsl(252, 61%, 13%)
HSVhsv(252, 76%, 21%)
CMYKcmyk(61.1%, 75.9%, 0%, 78.8%)
CIE-LABlab(6.45, 16.99, -25.30)
CIE-LCHlch(6.45, 30.48, 303.88°)
OKLaboklab(20% 0.0213 -0.0732)
OKLCHoklch(20% 0.076 286.2)
XYZxyz(1.1188, 0.7136, 3.5681)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D36 #2E360D
analogous
#0D1936 #150D36 #290D36
triadic
#150D36 #36150D #0D3615
tetradic
#150D36 #360D19 #2E360D #0D3629
square
#150D36 #360D19 #2E360D #0D3629
split-complementary
#150D36 #36290D #19360D
monochromatic
#0A0619 #0A0619 #150D36 #281967 #3B2599

Accessibility & contrast

On white

18.38
#150D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D36
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D36#FFFFFF#000000##FFFFFF
##150D361.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#08171F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150d36;
/* rgb */ color: rgb(21, 13, 54);
/* oklch */ color: oklch(20.0% 0.076 286.2);
Tailwind
colors: {
  custom: {
    50: '#564c6d',
    500: '#150d36',
    950: '#000000',
  },
}
SCSS
$custom: #150d36;
$custom-light: #564c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#150d36",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 251.707,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.07619,
    "h": 286.2
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#150D36
secondary
#64712D
accent
#E443C5
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150D36

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

Preview Lab → · Contrast checker → · Palette generator →

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