#150A34#150A34

#150A34 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.078 H 289.0°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#150A34
RGBrgb(21, 10, 52)
HSLhsl(256, 68%, 12%)
HSVhsv(256, 81%, 20%)
CMYKcmyk(59.6%, 80.8%, 0%, 79.6%)
CIE-LABlab(5.64, 17.64, -25.13)
CIE-LCHlch(5.64, 30.70, 305.06°)
OKLaboklab(19.23% 0.0253 -0.0735)
OKLCHoklch(19.23% 0.078 289)
XYZxyz(1.0375, 0.6244, 3.3140)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A34 #29340A
analogous
#0A1434 #150A34 #2A0A34
triadic
#150A34 #34150A #0A3415
tetradic
#150A34 #340A14 #29340A #0A342A
square
#150A34 #340A14 #29340A #0A342A
split-complementary
#150A34 #342A0A #14340A
monochromatic
#0A051A #0A051A #150A34 #2A1467 #3E1E9B

Accessibility & contrast

On white

18.67
#150A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A34
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A34#FFFFFF#000000##FFFFFF
##150A341.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#0A151D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150a34;
/* rgb */ color: rgb(21, 10, 52);
/* oklch */ color: oklch(19.2% 0.078 289.0);
Tailwind
colors: {
  custom: {
    50: '#564a6c',
    500: '#150a34',
    950: '#000000',
  },
}
SCSS
$custom: #150a34;
$custom-light: #564a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#150a34",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 255.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19234,
    "c": 0.07772,
    "h": 289
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#150A34
secondary
#5E7128
accent
#EB3DBD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150A34

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

Preview Lab → · Contrast checker → · Palette generator →

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