#150934#150934

#150934 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.079 H 289.5°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#150934
RGBrgb(21, 9, 52)
HSLhsl(257, 70%, 12%)
HSVhsv(257, 83%, 20%)
CMYKcmyk(59.6%, 82.7%, 0%, 79.6%)
CIE-LABlab(5.44, 18.09, -25.45)
CIE-LCHlch(5.44, 31.23, 305.41°)
OKLaboklab(19.06% 0.0265 -0.0747)
OKLCHoklch(19.06% 0.079 289.5)
XYZxyz(1.0266, 0.6027, 3.3104)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150934 #283409
analogous
#091334 #150934 #2B0934
triadic
#150934 #341509 #093415
tetradic
#150934 #340913 #283409 #09342B
square
#150934 #340913 #283409 #09342B
split-complementary
#150934 #342B09 #133409
monochromatic
#0B051A #0B051A #150934 #2A1268 #3F1B9C

Accessibility & contrast

On white

18.74
#150934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150934
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150934#FFFFFF#000000##FFFFFF
##1509341.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150934;
/* rgb */ color: rgb(21, 9, 52);
/* oklch */ color: oklch(19.1% 0.079 289.5);
Tailwind
colors: {
  custom: {
    50: '#564a6c',
    500: '#150934',
    950: '#000000',
  },
}
SCSS
$custom: #150934;
$custom-light: #564a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#150934",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 256.744,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19055,
    "c": 0.07924,
    "h": 289.5
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#150934
secondary
#5D7227
accent
#ED3BBB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150934

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

Preview Lab → · Contrast checker → · Palette generator →

#150934 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva