#150734#150734

#150734 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.082 H 290.6°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#150734
RGBrgb(21, 7, 52)
HSLhsl(259, 76%, 12%)
HSVhsv(259, 87%, 20%)
CMYKcmyk(59.6%, 86.5%, 0%, 79.6%)
CIE-LABlab(5.05, 19.00, -26.08)
CIE-LCHlch(5.05, 32.27, 306.07°)
OKLaboklab(18.69% 0.029 -0.0772)
OKLCHoklch(18.69% 0.082 290.6)
XYZxyz(1.0049, 0.5593, 3.3031)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150734 #263407
analogous
#071034 #150734 #2C0734
triadic
#150734 #341507 #073415
tetradic
#150734 #340710 #263407 #07342C
square
#150734 #340710 #263407 #07342C
split-complementary
#150734 #342C07 #103407
monochromatic
#0B041B #0B041B #150734 #2B0E6A #4116A0

Accessibility & contrast

On white

18.89
#150734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#150734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150734
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150734#FFFFFF#000000##FFFFFF
##1507341.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#0A131C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150734;
/* rgb */ color: rgb(21, 7, 52);
/* oklch */ color: oklch(18.7% 0.082 290.6);
Tailwind
colors: {
  custom: {
    50: '#56496c',
    500: '#150734',
    950: '#000000',
  },
}
SCSS
$custom: #150734;
$custom-light: #56496c;
$custom-dark: #000000;
JSON
{
  "hex": "#150734",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 258.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18687,
    "c": 0.08243,
    "h": 290.6
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#150734
secondary
#5B7423
accent
#F335B8
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #150734

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

Preview Lab → · Contrast checker → · Palette generator →

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