#150B30#150B30

#150B30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.070 H 290.6°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#150B30
RGBrgb(21, 11, 48)
HSLhsl(256, 63%, 12%)
HSVhsv(256, 77%, 19%)
CMYKcmyk(56.2%, 77.1%, 0%, 81.2%)
CIE-LABlab(5.53, 15.37, -22.36)
CIE-LCHlch(5.53, 27.13, 304.51°)
OKLaboklab(19.01% 0.0246 -0.0655)
OKLCHoklch(19.01% 0.07 290.6)
XYZxyz(0.9623, 0.6121, 2.8632)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B30 #26300B
analogous
#0B1430 #150B30 #280B30
triadic
#150B30 #30150B #0B3015
tetradic
#150B30 #300B14 #26300B #0B3028
square
#150B30 #300B14 #26300B #0B3028
split-complementary
#150B30 #30280B #14300B
monochromatic
#0B0619 #0B0619 #150B30 #2B1662 #412294

Accessibility & contrast

On white

18.71
#150B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B30
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B30#FFFFFF#000000##FFFFFF
##150B301.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#0D141C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150b30;
/* rgb */ color: rgb(21, 11, 48);
/* oklch */ color: oklch(19.0% 0.070 290.6);
Tailwind
colors: {
  custom: {
    50: '#554b68',
    500: '#150b30',
    950: '#000000',
  },
}
SCSS
$custom: #150b30;
$custom-light: #554b68;
$custom-dark: #000000;
JSON
{
  "hex": "#150b30",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 256.216,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19009,
    "c": 0.06997,
    "h": 290.6
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#150B30
secondary
#5B6D2A
accent
#E642BA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B30

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

Preview Lab → · Contrast checker → · Palette generator →

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