#150A38#150A38

#150A38 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.084 H 286.9°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#150A38
RGBrgb(21, 10, 56)
HSLhsl(254, 70%, 13%)
HSVhsv(254, 82%, 22%)
CMYKcmyk(62.5%, 82.1%, 0%, 78%)
CIE-LABlab(5.98, 19.42, -27.51)
CIE-LCHlch(5.98, 33.68, 305.22°)
OKLaboklab(19.66% 0.0244 -0.0801)
OKLCHoklch(19.66% 0.084 286.9)
XYZxyz(1.1314, 0.6620, 3.8088)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A38 #2D380A
analogous
#0A1638 #150A38 #2C0A38
triadic
#150A38 #38150A #0A3815
tetradic
#150A38 #380A16 #2D380A #0A382C
square
#150A38 #380A16 #2D380A #0A382C
split-complementary
#150A38 #382C0A #16380A
monochromatic
#0A051A #0A051A #150A38 #28136C #3C1DA0

Accessibility & contrast

On white

18.54
#150A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A38
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A38#FFFFFF#000000##FFFFFF
##150A381.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#071620
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150a38;
/* rgb */ color: rgb(21, 10, 56);
/* oklch */ color: oklch(19.7% 0.084 286.9);
Tailwind
colors: {
  custom: {
    50: '#574a6f',
    500: '#150a38',
    950: '#000000',
  },
}
SCSS
$custom: #150a38;
$custom-light: #574a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#150a38",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 254.348,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19664,
    "c": 0.0837,
    "h": 286.9
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#150A38
secondary
#637528
accent
#ED3BC2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150A38

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

Preview Lab → · Contrast checker → · Palette generator →

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