#150628#150628

#150628 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.067 H 300.0°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#150628
RGBrgb(21, 6, 40)
HSLhsl(266, 74%, 9%)
HSVhsv(266, 85%, 16%)
CMYKcmyk(47.5%, 85%, 0%, 84.3%)
CIE-LABlab(4.00, 13.78, -18.75)
CIE-LCHlch(4.00, 23.26, 306.32°)
OKLaboklab(17.21% 0.0335 -0.0581)
OKLCHoklch(17.21% 0.067 300)
XYZxyz(0.7573, 0.4429, 2.0527)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150628 #192806
analogous
#060828 #150628 #260628
triadic
#150628 #281506 #062815
tetradic
#150628 #280608 #192806 #062826
square
#150628 #280608 #192806 #062826
split-complementary
#150628 #282606 #082806
monochromatic
#0E041B #0E041B #150628 #310E5D #4D1692

Accessibility & contrast

On white

19.29
#150628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150628
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150628#FFFFFF#000000##FFFFFF
##1506281.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150628;
/* rgb */ color: rgb(21, 6, 40);
/* oklch */ color: oklch(17.2% 0.067 300.0);
Tailwind
colors: {
  custom: {
    50: '#534962',
    500: '#150628',
    950: '#000000',
  },
}
SCSS
$custom: #150628;
$custom-light: #534962;
$custom-dark: #000000;
JSON
{
  "hex": "#150628",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 266.471,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17205,
    "c": 0.06709,
    "h": 300
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#150628
secondary
#496921
accent
#F1379F
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #150628

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

Preview Lab → · Contrast checker → · Palette generator →

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