#150F33#150F33

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

Color values

HEX#150F33
RGBrgb(21, 15, 51)
HSLhsl(250, 55%, 13%)
HSVhsv(250, 71%, 20%)
CMYKcmyk(58.8%, 70.6%, 0%, 80%)
CIE-LABlab(6.68, 14.54, -22.72)
CIE-LCHlch(6.68, 26.98, 302.62°)
OKLaboklab(20.11% 0.019 -0.0654)
OKLCHoklch(20.11% 0.068 286.2)
XYZxyz(1.0774, 0.7400, 3.2174)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F33 #2D330F
analogous
#0F1B33 #150F33 #270F33
triadic
#150F33 #33150F #0F3315
tetradic
#150F33 #330F1B #2D330F #0F3327
square
#150F33 #330F1B #2D330F #0F3327
split-complementary
#150F33 #33270F #1B330F
monochromatic
#0A0718 #0A0718 #150F33 #281D62 #3C2B92

Accessibility & contrast

On white

18.29
#150F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F33
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F33#FFFFFF#000000##FFFFFF
##150F331.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#0A171F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150f33;
/* rgb */ color: rgb(21, 15, 51);
/* oklch */ color: oklch(20.1% 0.068 286.2);
Tailwind
colors: {
  custom: {
    50: '#554d6b',
    500: '#150f33',
    950: '#000000',
  },
}
SCSS
$custom: #150f33;
$custom-light: #554d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#150f33",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 250,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20108,
    "c": 0.06809,
    "h": 286.2
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#150F33
secondary
#636D31
accent
#DE4AC5
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150F33

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

Preview Lab → · Contrast checker → · Palette generator →

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