#40263E#40263E

#40263E is a dark, muted purple. Relative luminance 0.028; OKLCH L 31.1% C 0.055 H 329.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#40263E
RGBrgb(64, 38, 62)
HSLhsl(305, 25%, 20%)
HSVhsv(305, 41%, 25%)
CMYKcmyk(0%, 40.6%, 3.1%, 74.9%)
CIE-LABlab(19.33, 16.84, -10.27)
CIE-LCHlch(19.33, 19.72, 328.62°)
OKLaboklab(31.13% 0.0473 -0.0278)
OKLCHoklch(31.13% 0.055 329.5)
XYZxyz(3.6769, 2.8242, 4.9079)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40263E #264028
analogous
#352640 #40263E #402631
triadic
#40263E #3E4026 #263E40
tetradic
#40263E #403526 #264028 #263140
square
#40263E #403526 #264028 #263140
split-complementary
#40263E #314026 #264035
monochromatic
#130B13 #1A0F19 #40263E #663D63 #8D5488

Accessibility & contrast

On white

13.42
#40263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#40263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40263E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40263E#FFFFFF#000000##FFFFFF
##40263E1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D3F
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#42282F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #40263e;
/* rgb */ color: rgb(64, 38, 62);
/* oklch */ color: oklch(31.1% 0.055 329.5);
Tailwind
colors: {
  custom: {
    50: '#756173',
    500: '#40263e',
    950: '#000000',
  },
}
SCSS
$custom: #40263e;
$custom-light: #756173;
$custom-dark: #000000;
JSON
{
  "hex": "#40263e",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 304.615,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.31126,
    "c": 0.05484,
    "h": 329.5
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#40263E
secondary
#507252
accent
#C26D66
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080508
muted
#7B797B

Preview Lab

Preview with #40263E

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

Preview Lab → · Contrast checker → · Palette generator →

#40263E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva