#150C3D#150C3D

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

Color values

HEX#150C3D
RGBrgb(21, 12, 61)
HSLhsl(251, 67%, 14%)
HSVhsv(251, 80%, 24%)
CMYKcmyk(65.6%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.86, 20.52, -29.70)
CIE-LCHlch(6.86, 36.10, 304.64°)
OKLaboklab(20.56% 0.0212 -0.0858)
OKLCHoklch(20.56% 0.088 283.9)
XYZxyz(1.2828, 0.7592, 4.4929)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C3D #343D0C
analogous
#0C1C3D #150C3D #2E0C3D
triadic
#150C3D #3D150C #0C3D15
tetradic
#150C3D #3D0C1C #343D0C #0C3D2E
square
#150C3D #3D0C1C #343D0C #0C3D2E
split-complementary
#150C3D #3D2E0C #1C3D0C
monochromatic
#09051A #09051A #150C3D #271670 #3820A3

Accessibility & contrast

On white

18.23
#150C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C3D
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C3D#FFFFFF#000000##FFFFFF
##150C3D1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#031923
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150c3d;
/* rgb */ color: rgb(21, 12, 61);
/* oklch */ color: oklch(20.6% 0.088 283.9);
Tailwind
colors: {
  custom: {
    50: '#584b73',
    500: '#150c3d',
    950: '#000000',
  },
}
SCSS
$custom: #150c3d;
$custom-light: #584b73;
$custom-dark: #000000;
JSON
{
  "hex": "#150c3d",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 251.02,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20556,
    "c": 0.08836,
    "h": 283.9
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#150C3D
secondary
#6B792C
accent
#EA3ECA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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