#401153#401153

#401153 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.117 H 314.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#401153
RGBrgb(64, 17, 83)
HSLhsl(283, 66%, 20%)
HSVhsv(283, 80%, 33%)
CMYKcmyk(22.9%, 79.5%, 0%, 67.5%)
CIE-LABlab(16.08, 33.81, -29.78)
CIE-LCHlch(16.08, 45.06, 318.63°)
OKLaboklab(29.16% 0.0816 -0.084)
OKLCHoklch(29.16% 0.117 314.2)
XYZxyz(3.8759, 2.1156, 8.3861)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401153 #245311
analogous
#1F1153 #401153 #531145
triadic
#401153 #534011 #115340
tetradic
#401153 #531F11 #245311 #114553
square
#401153 #531F11 #245311 #114553
split-complementary
#401153 #455311 #11531F
monochromatic
#140519 #190720 #401153 #671B86 #8E26B9

Accessibility & contrast

On white

14.76
#401153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401153
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401153#FFFFFF#000000##FFFFFF
##4011531.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#0D2952
Tritanopia (blue-blind)
#3E1F31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401153;
/* rgb */ color: rgb(64, 17, 83);
/* oklch */ color: oklch(29.2% 0.117 314.2);
Tailwind
colors: {
  custom: {
    50: '#785484',
    500: '#401153',
    950: '#000000',
  },
}
SCSS
$custom: #401153;
$custom-light: #785484;
$custom-dark: #000000;
JSON
{
  "hex": "#401153",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 282.727,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29158,
    "c": 0.11712,
    "h": 314.2
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#401153
secondary
#4D8C34
accent
#E93F70
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401153

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

Preview Lab → · Contrast checker → · Palette generator →

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