#40053D#40053D

#40053D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.111 H 330.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#40053D
RGBrgb(64, 5, 61)
HSLhsl(303, 86%, 14%)
HSVhsv(303, 92%, 25%)
CMYKcmyk(0%, 92.2%, 4.7%, 74.9%)
CIE-LABlab(12.83, 33.92, -19.70)
CIE-LCHlch(12.83, 39.23, 329.86°)
OKLaboklab(26.34% 0.0964 -0.0545)
OKLCHoklch(26.34% 0.111 330.5)
XYZxyz(3.0109, 1.5357, 4.5518)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40053D #054008
analogous
#250540 #40053D #40051F
triadic
#40053D #3D4005 #053D40
tetradic
#40053D #402505 #054008 #051F40
square
#40053D #402505 #054008 #051F40
split-complementary
#40053D #1F4005 #054025
monochromatic
#1C021B #1C021B #40053D #790973 #B20EA9

Accessibility & contrast

On white

16.07
#40053D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#40053D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40053D
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40053D#FFFFFF#000000##FFFFFF
##40053D1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#19243C
Tritanopia (blue-blind)
#430E21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40053d;
/* rgb */ color: rgb(64, 5, 61);
/* oklch */ color: oklch(26.3% 0.111 330.5);
Tailwind
colors: {
  custom: {
    50: '#784e73',
    500: '#40053d',
    950: '#000000',
  },
}
SCSS
$custom: #40053d;
$custom-light: #784e73;
$custom-dark: #000000;
JSON
{
  "hex": "#40053d",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 61
  },
  "hsl": {
    "h": 303.051,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26337,
    "c": 0.11075,
    "h": 330.5
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#40053D
secondary
#208125
accent
#FC372C
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #40053D

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

Preview Lab → · Contrast checker → · Palette generator →

#40053D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva