#150833#150833

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

Color values

HEX#150833
RGBrgb(21, 8, 51)
HSLhsl(258, 73%, 12%)
HSVhsv(258, 84%, 20%)
CMYKcmyk(58.8%, 84.3%, 0%, 80%)
CIE-LABlab(5.17, 18.08, -25.16)
CIE-LCHlch(5.17, 30.98, 305.71°)
OKLaboklab(18.76% 0.0279 -0.0743)
OKLCHoklch(18.76% 0.079 290.6)
XYZxyz(0.9935, 0.5721, 3.1894)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150833 #263308
analogous
#081133 #150833 #2B0833
triadic
#150833 #331508 #083315
tetradic
#150833 #330811 #263308 #08332B
square
#150833 #330811 #263308 #08332B
split-complementary
#150833 #332B08 #113308
monochromatic
#0B041A #0B041A #150833 #2B1068 #41199D

Accessibility & contrast

On white

18.84
#150833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150833
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150833#FFFFFF#000000##FFFFFF
##1508331.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#0B131C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150833;
/* rgb */ color: rgb(21, 8, 51);
/* oklch */ color: oklch(18.8% 0.079 290.6);
Tailwind
colors: {
  custom: {
    50: '#55496b',
    500: '#150833',
    950: '#000000',
  },
}
SCSS
$custom: #150833;
$custom-light: #55496b;
$custom-dark: #000000;
JSON
{
  "hex": "#150833",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 258.14,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18764,
    "c": 0.07935,
    "h": 290.6
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#150833
secondary
#5B7225
accent
#F038B8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150833

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

Preview Lab → · Contrast checker → · Palette generator →

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