#150B3F#150B3F

#150B3F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.093 H 283.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#150B3F
RGBrgb(21, 11, 63)
HSLhsl(252, 70%, 15%)
HSVhsv(252, 83%, 25%)
CMYKcmyk(66.7%, 82.5%, 0%, 75.3%)
CIE-LABlab(6.84, 21.90, -31.16)
CIE-LCHlch(6.84, 38.09, 305.10°)
OKLaboklab(20.61% 0.0216 -0.0901)
OKLCHoklch(20.61% 0.093 283.5)
XYZxyz(1.3259, 0.7576, 4.7780)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B3F #353F0B
analogous
#0B1B3F #150B3F #2F0B3F
triadic
#150B3F #3F150B #0B3F15
tetradic
#150B3F #3F0B1B #353F0B #0B3F2F
square
#150B3F #3F0B1B #353F0B #0B3F2F
split-complementary
#150B3F #3F2F0B #1B3F0B
monochromatic
#09051A #09051A #150B3F #261473 #381DA7

Accessibility & contrast

On white

18.24
#150B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B3F
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B3F#FFFFFF#000000##FFFFFF
##150B3F1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#011924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150b3f;
/* rgb */ color: rgb(21, 11, 63);
/* oklch */ color: oklch(20.6% 0.093 283.5);
Tailwind
colors: {
  custom: {
    50: '#594b75',
    500: '#150b3f',
    950: '#000000',
  },
}
SCSS
$custom: #150b3f;
$custom-light: #594b75;
$custom-dark: #000000;
JSON
{
  "hex": "#150b3f",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 251.538,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20611,
    "c": 0.09262,
    "h": 283.5
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#150B3F
secondary
#6C7C2A
accent
#ED3BCB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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