#150834#150834

#150834 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.081 H 290.0°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#150834
RGBrgb(21, 8, 52)
HSLhsl(258, 73%, 12%)
HSVhsv(258, 85%, 20%)
CMYKcmyk(59.6%, 84.6%, 0%, 79.6%)
CIE-LABlab(5.25, 18.54, -25.76)
CIE-LCHlch(5.25, 31.74, 305.75°)
OKLaboklab(18.87% 0.0277 -0.0759)
OKLCHoklch(18.87% 0.081 290)
XYZxyz(1.0157, 0.5810, 3.3068)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150834 #273408
analogous
#081134 #150834 #2B0834
triadic
#150834 #341508 #083415
tetradic
#150834 #340811 #273408 #08342B
square
#150834 #340811 #273408 #08342B
split-complementary
#150834 #342B08 #113408
monochromatic
#0B041B #0B041B #150834 #2A1069 #40189E

Accessibility & contrast

On white

18.81
#150834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150834
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150834#FFFFFF#000000##FFFFFF
##1508341.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150834;
/* rgb */ color: rgb(21, 8, 52);
/* oklch */ color: oklch(18.9% 0.081 290.0);
Tailwind
colors: {
  custom: {
    50: '#56496c',
    500: '#150834',
    950: '#000000',
  },
}
SCSS
$custom: #150834;
$custom-light: #56496c;
$custom-dark: #000000;
JSON
{
  "hex": "#150834",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 257.727,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18873,
    "c": 0.08081,
    "h": 290
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#150834
secondary
#5C7325
accent
#F038BA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150834

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

Preview Lab → · Contrast checker → · Palette generator →

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