#150427#150427

#150427 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.070 H 302.4°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#150427
RGBrgb(21, 4, 39)
HSLhsl(269, 81%, 8%)
HSVhsv(269, 90%, 15%)
CMYKcmyk(46.2%, 89.7%, 0%, 84.7%)
CIE-LABlab(3.55, 14.16, -18.69)
CIE-LCHlch(3.55, 23.44, 307.14°)
OKLaboklab(16.64% 0.0377 -0.0594)
OKLCHoklch(16.64% 0.07 302.4)
XYZxyz(0.7188, 0.3927, 1.9570)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150427 #162704
analogous
#040427 #150427 #260427
triadic
#150427 #271504 #042715
tetradic
#150427 #270404 #162704 #042726
square
#150427 #270404 #162704 #042726
split-complementary
#150427 #272604 #042704
monochromatic
#0F031C #0F031C #150427 #330A5F #510F96

Accessibility & contrast

On white

19.47
#150427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#150427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150427
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150427#FFFFFF#000000##FFFFFF
##1504271.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#110C14
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #150427;
/* rgb */ color: rgb(21, 4, 39);
/* oklch */ color: oklch(16.6% 0.070 302.4);
Tailwind
colors: {
  custom: {
    50: '#524861',
    500: '#150427',
    950: '#000000',
  },
}
SCSS
$custom: #150427;
$custom-light: #524861;
$custom-dark: #000000;
JSON
{
  "hex": "#150427",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 269.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16642,
    "c": 0.07034,
    "h": 302.4
  },
  "luminance": 0.00393
}

Semantic roles & 50–950 ramp

primary
#150427
secondary
#446A1D
accent
#F83097
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #150427

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

Preview Lab → · Contrast checker → · Palette generator →

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