#150D3D#150D3D

#150D3D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.087 H 283.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#150D3D
RGBrgb(21, 13, 61)
HSLhsl(250, 65%, 15%)
HSVhsv(250, 79%, 24%)
CMYKcmyk(65.6%, 78.7%, 0%, 76.1%)
CIE-LABlab(7.08, 19.93, -29.34)
CIE-LCHlch(7.08, 35.47, 304.19°)
OKLaboklab(20.73% 0.0201 -0.0846)
OKLCHoklch(20.73% 0.087 283.4)
XYZxyz(1.2952, 0.7841, 4.4971)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D3D #353D0D
analogous
#0D1D3D #150D3D #2D0D3D
triadic
#150D3D #3D150D #0D3D15
tetradic
#150D3D #3D0D1D #353D0D #0D3D2D
square
#150D3D #3D0D1D #353D0D #0D3D2D
split-complementary
#150D3D #3D2D0D #1D3D0D
monochromatic
#090519 #090519 #150D3D #26186F #3823A2

Accessibility & contrast

On white

18.15
#150D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D3D
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D3D#FFFFFF#000000##FFFFFF
##150D3D1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#031A23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150d3d;
/* rgb */ color: rgb(21, 13, 61);
/* oklch */ color: oklch(20.7% 0.087 283.4);
Tailwind
colors: {
  custom: {
    50: '#584c73',
    500: '#150d3d',
    950: '#000000',
  },
}
SCSS
$custom: #150d3d;
$custom-light: #584c73;
$custom-dark: #000000;
JSON
{
  "hex": "#150d3d",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 250,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20732,
    "c": 0.08697,
    "h": 283.4
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#150D3D
secondary
#6C792D
accent
#E840CC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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