#150839#150839

#150839 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.088 H 287.4°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#150839
RGBrgb(21, 8, 57)
HSLhsl(256, 75%, 13%)
HSVhsv(256, 86%, 22%)
CMYKcmyk(63.2%, 86%, 0%, 77.6%)
CIE-LABlab(5.68, 20.83, -28.73)
CIE-LCHlch(5.68, 35.49, 305.94°)
OKLaboklab(19.43% 0.0263 -0.084)
OKLCHoklch(19.43% 0.088 287.4)
XYZxyz(1.1344, 0.6284, 3.9316)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150839 #2C3908
analogous
#081439 #150839 #2D0839
triadic
#150839 #391508 #083915
tetradic
#150839 #390814 #2C3908 #08392D
square
#150839 #390814 #2C3908 #08392D
split-complementary
#150839 #392D08 #143908
monochromatic
#0A041B #0A041B #150839 #29106F #3D17A4

Accessibility & contrast

On white

18.65
#150839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150839
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150839#FFFFFF#000000##FFFFFF
##1508391.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#061520
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150839;
/* rgb */ color: rgb(21, 8, 57);
/* oklch */ color: oklch(19.4% 0.088 287.4);
Tailwind
colors: {
  custom: {
    50: '#574970',
    500: '#150839',
    950: '#000000',
  },
}
SCSS
$custom: #150839;
$custom-light: #574970;
$custom-dark: #000000;
JSON
{
  "hex": "#150839",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 255.918,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19433,
    "c": 0.088,
    "h": 287.4
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#150839
secondary
#627825
accent
#F236C0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150839

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

Preview Lab → · Contrast checker → · Palette generator →

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