#150523#150523

#150523 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.062 H 305.7°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#150523
RGBrgb(21, 5, 35)
HSLhsl(272, 75%, 8%)
HSVhsv(272, 86%, 14%)
CMYKcmyk(40%, 85.7%, 0%, 86.3%)
CIE-LABlab(3.52, 12.16, -15.64)
CIE-LCHlch(3.52, 19.81, 307.86°)
OKLaboklab(16.48% 0.0364 -0.0506)
OKLCHoklch(16.48% 0.062 305.7)
XYZxyz(0.6668, 0.3893, 1.6298)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150523 #132305
analogous
#060523 #150523 #230522
triadic
#150523 #231505 #052315
tetradic
#150523 #230605 #132305 #052223
square
#150523 #230605 #132305 #052223
split-complementary
#150523 #222305 #052306
monochromatic
#10041B #10041B #150523 #350D59 #55148E

Accessibility & contrast

On white

19.48
#150523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#150523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150523
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150523#FFFFFF#000000##FFFFFF
##1505231.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C24
Deuteranopia (green-blind)
#010D22
Tritanopia (blue-blind)
#130B12
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #150523;
/* rgb */ color: rgb(21, 5, 35);
/* oklch */ color: oklch(16.5% 0.062 305.7);
Tailwind
colors: {
  custom: {
    50: '#52495e',
    500: '#150523',
    950: '#000000',
  },
}
SCSS
$custom: #150523;
$custom-light: #52495e;
$custom-dark: #000000;
JSON
{
  "hex": "#150523",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 272,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16482,
    "c": 0.06232,
    "h": 305.7
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#150523
secondary
#40641F
accent
#F2368E
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150523

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

Preview Lab → · Contrast checker → · Palette generator →

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