#401653#401653

#401653 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.110 H 313.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#401653
RGBrgb(64, 22, 83)
HSLhsl(281, 58%, 21%)
HSVhsv(281, 73%, 33%)
CMYKcmyk(22.9%, 73.5%, 0%, 67.5%)
CIE-LABlab(16.93, 31.41, -28.41)
CIE-LCHlch(16.93, 42.35, 317.88°)
OKLaboklab(29.77% 0.0756 -0.08)
OKLCHoklch(29.77% 0.11 313.4)
XYZxyz(3.9623, 2.2885, 8.4149)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401653 #295316
analogous
#211653 #401653 #531647
triadic
#401653 #534016 #165340
tetradic
#401653 #532116 #295316 #164753
square
#401653 #532116 #295316 #164753
split-complementary
#401653 #475316 #165321
monochromatic
#130618 #1B0923 #401653 #652383 #8B30B4

Accessibility & contrast

On white

14.41
#401653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#401653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401653
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401653#FFFFFF#000000##FFFFFF
##4016531.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#3E2232
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #401653;
/* rgb */ color: rgb(64, 22, 83);
/* oklch */ color: oklch(29.8% 0.110 313.4);
Tailwind
colors: {
  custom: {
    50: '#775784',
    500: '#401653',
    950: '#000000',
  },
}
SCSS
$custom: #401653;
$custom-light: #775784;
$custom-dark: #000000;
JSON
{
  "hex": "#401653",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 281.311,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29765,
    "c": 0.11009,
    "h": 313.4
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#401653
secondary
#538A3A
accent
#E14677
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401653

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

Preview Lab → · Contrast checker → · Palette generator →

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