#150B3E#150B3E

#150B3E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.091 H 283.9°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#150B3E
RGBrgb(21, 11, 62)
HSLhsl(252, 70%, 14%)
HSVhsv(252, 82%, 24%)
CMYKcmyk(66.1%, 82.3%, 0%, 75.7%)
CIE-LABlab(6.74, 21.49, -30.61)
CIE-LCHlch(6.74, 37.40, 305.07°)
OKLaboklab(20.5% 0.0219 -0.0885)
OKLCHoklch(20.5% 0.091 283.9)
XYZxyz(1.2982, 0.7465, 4.6322)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B3E #343E0B
analogous
#0B1B3E #150B3E #2F0B3E
triadic
#150B3E #3E150B #0B3E15
tetradic
#150B3E #3E0B1B #343E0B #0B3E2F
square
#150B3E #3E0B1B #343E0B #0B3E2F
split-complementary
#150B3E #3E2F0B #1B3E0B
monochromatic
#09051A #09051A #150B3E #271472 #381DA6

Accessibility & contrast

On white

18.27
#150B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B3E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B3E#FFFFFF#000000##FFFFFF
##150B3E1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#021923
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150b3e;
/* rgb */ color: rgb(21, 11, 62);
/* oklch */ color: oklch(20.5% 0.091 283.9);
Tailwind
colors: {
  custom: {
    50: '#584b74',
    500: '#150b3e',
    950: '#000000',
  },
}
SCSS
$custom: #150b3e;
$custom-light: #584b74;
$custom-dark: #000000;
JSON
{
  "hex": "#150b3e",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 251.765,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20498,
    "c": 0.09117,
    "h": 283.9
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#150B3E
secondary
#6B7B2A
accent
#ED3BCA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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