#40093A#40093A

#40093A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.103 H 333.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#40093A
RGBrgb(64, 9, 58)
HSLhsl(307, 75%, 14%)
HSVhsv(307, 86%, 25%)
CMYKcmyk(0%, 85.9%, 9.4%, 74.9%)
CIE-LABlab(13.18, 31.83, -17.02)
CIE-LCHlch(13.18, 36.09, 331.87°)
OKLaboklab(26.52% 0.0919 -0.0467)
OKLCHoklch(26.52% 0.103 333)
XYZxyz(2.9758, 1.5911, 4.1526)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40093A #09400F
analogous
#2B0940 #40093A #40091F
triadic
#40093A #3A4009 #093A40
tetradic
#40093A #402B09 #09400F #091F40
square
#40093A #402B09 #09400F #091F40
split-complementary
#40093A #1F4009 #09402B
monochromatic
#1B0418 #1B0418 #40093A #76116B #AB189B

Accessibility & contrast

On white

15.93
#40093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#40093A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40093A
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40093A#FFFFFF#000000##FFFFFF
##40093A1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#430F21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40093a;
/* rgb */ color: rgb(64, 9, 58);
/* oklch */ color: oklch(26.5% 0.103 333.0);
Tailwind
colors: {
  custom: {
    50: '#775070',
    500: '#40093a',
    950: '#000000',
  },
}
SCSS
$custom: #40093a;
$custom-light: #775070;
$custom-dark: #000000;
JSON
{
  "hex": "#40093a",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 306.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26519,
    "c": 0.1031,
    "h": 333
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#40093A
secondary
#277E30
accent
#F24A36
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #40093A

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

Preview Lab → · Contrast checker → · Palette generator →

#40093A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva