#150843#150843

#150843 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.102 H 283.0°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#150843
RGBrgb(21, 8, 67)
HSLhsl(253, 79%, 15%)
HSVhsv(253, 88%, 26%)
CMYKcmyk(68.7%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.67, 25.12, -34.30)
CIE-LCHlch(6.67, 42.51, 306.22°)
OKLaboklab(20.62% 0.023 -0.0993)
OKLCHoklch(20.62% 0.102 283)
XYZxyz(1.4089, 0.7382, 5.3774)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150843 #364308
analogous
#081943 #150843 #330843
triadic
#150843 #431508 #084315
tetradic
#150843 #430819 #364308 #084333
square
#150843 #430819 #364308 #084333
split-complementary
#150843 #433308 #194308
monochromatic
#09031B #09031B #150843 #260F7A #3715B0

Accessibility & contrast

On white

18.30
#150843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150843
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150843#FFFFFF#000000##FFFFFF
##1508431.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150843;
/* rgb */ color: rgb(21, 8, 67);
/* oklch */ color: oklch(20.6% 0.102 283.0);
Tailwind
colors: {
  custom: {
    50: '#5a4978',
    500: '#150843',
    950: '#000000',
  },
}
SCSS
$custom: #150843;
$custom-light: #5a4978;
$custom-dark: #000000;
JSON
{
  "hex": "#150843",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 253.22,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20615,
    "c": 0.10192,
    "h": 283
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#150843
secondary
#6D8125
accent
#F533CA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150843

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

Preview Lab → · Contrast checker → · Palette generator →

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