#150A3F#150A3F

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

Color values

HEX#150A3F
RGBrgb(21, 10, 63)
HSLhsl(252, 73%, 14%)
HSVhsv(252, 84%, 25%)
CMYKcmyk(66.7%, 84.1%, 0%, 75.3%)
CIE-LABlab(6.64, 22.43, -31.49)
CIE-LCHlch(6.64, 38.66, 305.46°)
OKLaboklab(20.45% 0.0225 -0.0911)
OKLCHoklch(20.45% 0.094 283.9)
XYZxyz(1.3147, 0.7353, 4.7743)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A3F #343F0A
analogous
#0A1A3F #150A3F #300A3F
triadic
#150A3F #3F150A #0A3F15
tetradic
#150A3F #3F0A1A #343F0A #0A3F30
square
#150A3F #3F0A1A #343F0A #0A3F30
split-complementary
#150A3F #3F300A #1A3F0A
monochromatic
#09041A #09041A #150A3F #271274 #381BA9

Accessibility & contrast

On white

18.31
#150A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A3F
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A3F#FFFFFF#000000##FFFFFF
##150A3F1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150a3f;
/* rgb */ color: rgb(21, 10, 63);
/* oklch */ color: oklch(20.5% 0.094 283.9);
Tailwind
colors: {
  custom: {
    50: '#594a75',
    500: '#150a3f',
    950: '#000000',
  },
}
SCSS
$custom: #150a3f;
$custom-light: #594a75;
$custom-dark: #000000;
JSON
{
  "hex": "#150a3f",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 252.453,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20452,
    "c": 0.09388,
    "h": 283.9
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#150A3F
secondary
#6B7C29
accent
#EF38C9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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