#150751#150751

#150751 is a very dark, vivid violet. Relative luminance 0.009; OKLCH L 22.2% C 0.122 H 278.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#150751
RGBrgb(21, 7, 81)
HSLhsl(251, 84%, 17%)
HSVhsv(251, 91%, 32%)
CMYKcmyk(74.1%, 91.4%, 0%, 68.2%)
CIE-LABlab(8.18, 30.77, -41.59)
CIE-LCHlch(8.18, 51.74, 306.50°)
OKLaboklab(22.24% 0.0184 -0.1201)
OKLCHoklch(22.24% 0.122 278.7)
XYZxyz(1.8700, 0.9053, 7.8592)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150751 #435107
analogous
#071E51 #150751 #3A0751
triadic
#150751 #511507 #075115
tetradic
#150751 #51071E #435107 #07513A
square
#150751 #51071E #435107 #07513A
split-complementary
#150751 #513A07 #1E5107
monochromatic
#07021C #07021C #150751 #240C89 #3211C2

Accessibility & contrast

On white

17.78
#150751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#150751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150751
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150751#FFFFFF#000000##FFFFFF
##1507511.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B53
Deuteranopia (green-blind)
#001550
Tritanopia (blue-blind)
#001F2D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150751;
/* rgb */ color: rgb(21, 7, 81);
/* oklch */ color: oklch(22.2% 0.122 278.7);
Tailwind
colors: {
  custom: {
    50: '#5e4a83',
    500: '#150751',
    950: '#000000',
  },
}
SCSS
$custom: #150751;
$custom-light: #5e4a83;
$custom-dark: #000000;
JSON
{
  "hex": "#150751",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 81
  },
  "hsl": {
    "h": 251.351,
    "s": 84.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2224,
    "c": 0.12151,
    "h": 278.7
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#150751
secondary
#7B8F25
accent
#FA2DD4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150751

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

Preview Lab → · Contrast checker → · Palette generator →

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