#150835#150835

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

Color values

HEX#150835
RGBrgb(21, 8, 53)
HSLhsl(257, 74%, 12%)
HSVhsv(257, 85%, 21%)
CMYKcmyk(60.4%, 84.9%, 0%, 79.2%)
CIE-LABlab(5.33, 19.01, -26.37)
CIE-LCHlch(5.33, 32.50, 305.79°)
OKLaboklab(18.98% 0.0274 -0.0776)
OKLCHoklch(18.98% 0.082 289.5)
XYZxyz(1.0385, 0.5901, 3.4266)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150835 #283508
analogous
#081235 #150835 #2C0835
triadic
#150835 #351508 #083515
tetradic
#150835 #350812 #283508 #08352C
square
#150835 #350812 #283508 #08352C
split-complementary
#150835 #352C08 #123508
monochromatic
#0B041B #0B041B #150835 #2A106A #3F189F

Accessibility & contrast

On white

18.78
#150835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150835
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150835#FFFFFF#000000##FFFFFF
##1508351.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#09141D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150835;
/* rgb */ color: rgb(21, 8, 53);
/* oklch */ color: oklch(19.0% 0.082 289.5);
Tailwind
colors: {
  custom: {
    50: '#56496d',
    500: '#150835',
    950: '#000000',
  },
}
SCSS
$custom: #150835;
$custom-light: #56496d;
$custom-dark: #000000;
JSON
{
  "hex": "#150835",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 257.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18983,
    "c": 0.08226,
    "h": 289.5
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#150835
secondary
#5D7425
accent
#F037BB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150835

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

Preview Lab → · Contrast checker → · Palette generator →

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