#150A41#150A41

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

Color values

HEX#150A41
RGBrgb(21, 10, 65)
HSLhsl(252, 73%, 15%)
HSVhsv(252, 85%, 25%)
CMYKcmyk(67.7%, 84.6%, 0%, 74.5%)
CIE-LABlab(6.85, 23.25, -32.58)
CIE-LCHlch(6.85, 40.02, 305.51°)
OKLaboklab(20.68% 0.022 -0.0942)
OKLCHoklch(20.68% 0.097 283.1)
XYZxyz(1.3716, 0.7581, 5.0740)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A41 #36410A
analogous
#0A1B41 #150A41 #310A41
triadic
#150A41 #41150A #0A4115
tetradic
#150A41 #410A1B #36410A #0A4131
square
#150A41 #410A1B #36410A #0A4131
split-complementary
#150A41 #41310A #1B410A
monochromatic
#09041B #09041B #150A41 #261276 #371AAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##150A41#FFFFFF#000000##FFFFFF
##150A411.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)
#001743
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150a41;
/* rgb */ color: rgb(21, 10, 65);
/* oklch */ color: oklch(20.7% 0.097 283.1);
Tailwind
colors: {
  custom: {
    50: '#594a76',
    500: '#150a41',
    950: '#000000',
  },
}
SCSS
$custom: #150a41;
$custom-light: #594a76;
$custom-dark: #000000;
JSON
{
  "hex": "#150a41",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 252,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20684,
    "c": 0.09673,
    "h": 283.1
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#150A41
secondary
#6D7E29
accent
#F038CB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150A41

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

Preview Lab → · Contrast checker → · Palette generator →

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