#150935#150935

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

Color values

HEX#150935
RGBrgb(21, 9, 53)
HSLhsl(256, 71%, 12%)
HSVhsv(256, 83%, 21%)
CMYKcmyk(60.4%, 83%, 0%, 79.2%)
CIE-LABlab(5.53, 18.55, -26.05)
CIE-LCHlch(5.53, 31.98, 305.45°)
OKLaboklab(19.16% 0.0262 -0.0763)
OKLCHoklch(19.16% 0.081 289)
XYZxyz(1.0494, 0.6118, 3.4303)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150935 #293509
analogous
#091335 #150935 #2B0935
triadic
#150935 #351509 #093515
tetradic
#150935 #350913 #293509 #09352B
square
#150935 #350913 #293509 #09352B
split-complementary
#150935 #352B09 #133509
monochromatic
#0A041A #0A041A #150935 #2A1269 #3E1B9E

Accessibility & contrast

On white

18.71
#150935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150935
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150935#FFFFFF#000000##FFFFFF
##1509351.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#09141E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150935;
/* rgb */ color: rgb(21, 9, 53);
/* oklch */ color: oklch(19.2% 0.081 289.0);
Tailwind
colors: {
  custom: {
    50: '#564a6d',
    500: '#150935',
    950: '#000000',
  },
}
SCSS
$custom: #150935;
$custom-light: #564a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#150935",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 256.364,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19163,
    "c": 0.08073,
    "h": 289
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#150935
secondary
#5E7327
accent
#EE3ABD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150935

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

Preview Lab → · Contrast checker → · Palette generator →

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