#150640#150640

#150640 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.100 H 284.9°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#150640
RGBrgb(21, 6, 64)
HSLhsl(256, 83%, 14%)
HSVhsv(256, 91%, 25%)
CMYKcmyk(67.2%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.96, 24.90, -33.32)
CIE-LCHlch(5.96, 41.60, 306.78°)
OKLaboklab(19.93% 0.0258 -0.097)
OKLCHoklch(19.93% 0.1 284.9)
XYZxyz(1.2995, 0.6598, 4.9084)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150640 #314006
analogous
#061440 #150640 #320640
triadic
#150640 #401506 #064015
tetradic
#150640 #400614 #314006 #064032
square
#150640 #400614 #314006 #064032
split-complementary
#150640 #403206 #144006
monochromatic
#09031C #09031C #150640 #270B78 #3A10B0

Accessibility & contrast

On white

18.55
#150640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150640
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150640#FFFFFF#000000##FFFFFF
##1506401.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150640;
/* rgb */ color: rgb(21, 6, 64);
/* oklch */ color: oklch(19.9% 0.100 284.9);
Tailwind
colors: {
  custom: {
    50: '#594875',
    500: '#150640',
    950: '#000000',
  },
}
SCSS
$custom: #150640;
$custom-light: #594875;
$custom-dark: #000000;
JSON
{
  "hex": "#150640",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 255.517,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19928,
    "c": 0.1004,
    "h": 284.9
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#150640
secondary
#688022
accent
#F92FC5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #150640

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

Preview Lab → · Contrast checker → · Palette generator →

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