#150727#150727

#150727 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.3% C 0.063 H 300.2°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#150727
RGBrgb(21, 7, 39)
HSLhsl(266, 70%, 9%)
HSVhsv(266, 82%, 15%)
CMYKcmyk(46.2%, 82.1%, 0%, 84.7%)
CIE-LABlab(4.14, 12.95, -17.77)
CIE-LCHlch(4.14, 21.99, 306.09°)
OKLaboklab(17.33% 0.0319 -0.0548)
OKLCHoklch(17.33% 0.063 300.2)
XYZxyz(0.7514, 0.4579, 1.9679)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150727 #192707
analogous
#070927 #150727 #250727
triadic
#150727 #271507 #072715
tetradic
#150727 #270709 #192707 #072725
square
#150727 #270709 #192707 #072725
split-complementary
#150727 #272507 #092707
monochromatic
#0E051A #0E051A #150727 #31105B #4D1A8F

Accessibility & contrast

On white

19.24
#150727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150727
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150727#FFFFFF#000000##FFFFFF
##1507271.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#000E26
Tritanopia (blue-blind)
#110E15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #150727;
/* rgb */ color: rgb(21, 7, 39);
/* oklch */ color: oklch(17.3% 0.063 300.2);
Tailwind
colors: {
  custom: {
    50: '#524961',
    500: '#150727',
    950: '#000000',
  },
}
SCSS
$custom: #150727;
$custom-light: #524961;
$custom-dark: #000000;
JSON
{
  "hex": "#150727",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 266.25,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17327,
    "c": 0.06345,
    "h": 300.2
  },
  "luminance": 0.00458
}

Semantic roles & 50–950 ramp

primary
#150727
secondary
#496623
accent
#EC3B9F
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #150727

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

Preview Lab → · Contrast checker → · Palette generator →

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