#40263D#40263D

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

Color values

HEX#40263D
RGBrgb(64, 38, 61)
HSLhsl(307, 25%, 20%)
HSVhsv(307, 41%, 25%)
CMYKcmyk(0%, 40.6%, 4.7%, 74.9%)
CIE-LABlab(19.28, 16.62, -9.65)
CIE-LCHlch(19.28, 19.21, 329.85°)
OKLaboklab(31.08% 0.0469 -0.0261)
OKLCHoklch(31.08% 0.054 330.9)
XYZxyz(3.6497, 2.8133, 4.7647)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40263D #264029
analogous
#362640 #40263D #402630
triadic
#40263D #3D4026 #263D40
tetradic
#40263D #403626 #264029 #263040
square
#40263D #403626 #264029 #263040
split-complementary
#40263D #304026 #264036
monochromatic
#130B12 #1A0F18 #40263D #663D62 #8D5486

Accessibility & contrast

On white

13.44
#40263D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40263D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40263D#FFFFFF#000000##FFFFFF
##40263D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D3E
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#42282E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #40263d;
/* rgb */ color: rgb(64, 38, 61);
/* oklch */ color: oklch(31.1% 0.054 330.9);
Tailwind
colors: {
  custom: {
    50: '#756172',
    500: '#40263d',
    950: '#000000',
  },
}
SCSS
$custom: #40263d;
$custom-light: #756172;
$custom-dark: #000000;
JSON
{
  "hex": "#40263d",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 306.923,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.05368,
    "h": 330.9
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#40263D
secondary
#507254
accent
#C27166
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080508
muted
#7B797B

Preview Lab

Preview with #40263D

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

Preview Lab → · Contrast checker → · Palette generator →

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