#150A2E#150A2E

#150A2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.068 H 292.5°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#150A2E
RGBrgb(21, 10, 46)
HSLhsl(258, 64%, 11%)
HSVhsv(258, 78%, 18%)
CMYKcmyk(54.3%, 78.3%, 0%, 82%)
CIE-LABlab(5.18, 14.90, -21.42)
CIE-LCHlch(5.18, 26.09, 304.83°)
OKLaboklab(18.62% 0.0263 -0.0633)
OKLCHoklch(18.62% 0.068 292.5)
XYZxyz(0.9108, 0.5737, 2.6470)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A2E #232E0A
analogous
#0A112E #150A2E #270A2E
triadic
#150A2E #2E150A #0A2E15
tetradic
#150A2E #2E0A11 #232E0A #0A2E27
square
#150A2E #2E0A11 #232E0A #0A2E27
split-complementary
#150A2E #2E270A #112E0A
monochromatic
#0B0519 #0B0519 #150A2E #2C1560 #432093

Accessibility & contrast

On white

18.84
#150A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#150A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A2E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A2E#FFFFFF#000000##FFFFFF
##150A2E1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0E121A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150a2e;
/* rgb */ color: rgb(21, 10, 46);
/* oklch */ color: oklch(18.6% 0.068 292.5);
Tailwind
colors: {
  custom: {
    50: '#544b67',
    500: '#150a2e',
    950: '#000000',
  },
}
SCSS
$custom: #150a2e;
$custom-light: #544b67;
$custom-dark: #000000;
JSON
{
  "hex": "#150a2e",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 258.333,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18621,
    "c": 0.06849,
    "h": 292.5
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#150A2E
secondary
#576B29
accent
#E741B4
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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