#150F32#150F32

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

Color values

HEX#150F32
RGBrgb(21, 15, 50)
HSLhsl(250, 54%, 13%)
HSVhsv(250, 70%, 20%)
CMYKcmyk(58%, 70%, 0%, 80.4%)
CIE-LABlab(6.61, 14.12, -22.11)
CIE-LCHlch(6.61, 26.23, 302.56°)
OKLaboklab(20.01% 0.019 -0.0636)
OKLCHoklch(20.01% 0.066 286.6)
XYZxyz(1.0556, 0.7313, 3.1025)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F32 #2C320F
analogous
#0F1A32 #150F32 #260F32
triadic
#150F32 #32150F #0F3215
tetradic
#150F32 #320F1A #2C320F #0F3226
square
#150F32 #320F1A #2C320F #0F3226
split-complementary
#150F32 #32260F #1A320F
monochromatic
#0A0718 #0A0718 #150F32 #291D61 #3D2B90

Accessibility & contrast

On white

18.32
#150F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F32
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F32#FFFFFF#000000##FFFFFF
##150F321.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#0B171E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150f32;
/* rgb */ color: rgb(21, 15, 50);
/* oklch */ color: oklch(20.0% 0.066 286.6);
Tailwind
colors: {
  custom: {
    50: '#554d6a',
    500: '#150f32',
    950: '#000000',
  },
}
SCSS
$custom: #150f32;
$custom-light: #554d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#150f32",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 250.286,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20014,
    "c": 0.06643,
    "h": 286.6
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#150F32
secondary
#626C31
accent
#DD4BC4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150F32

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

Preview Lab → · Contrast checker → · Palette generator →

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